diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-davinci/board-dm646x-evm.c | 16 | ||||
-rw-r--r-- | arch/arm/mach-davinci/include/mach/board-dm6446evm.h | 20 |
2 files changed, 0 insertions, 36 deletions
diff --git a/arch/arm/mach-davinci/board-dm646x-evm.c b/arch/arm/mach-davinci/board-dm646x-evm.c index 0de0637aed5e..44e2ab665af5 100644 --- a/arch/arm/mach-davinci/board-dm646x-evm.c +++ b/arch/arm/mach-davinci/board-dm646x-evm.c | |||
@@ -222,22 +222,6 @@ static struct at24_platform_data eeprom_info = { | |||
222 | .setup = at24_setup, | 222 | .setup = at24_setup, |
223 | }; | 223 | }; |
224 | 224 | ||
225 | int dm646xevm_eeprom_read(void *buf, off_t off, size_t count) | ||
226 | { | ||
227 | if (at24_mem_acc) | ||
228 | return at24_mem_acc->read(at24_mem_acc, buf, off, count); | ||
229 | return -ENODEV; | ||
230 | } | ||
231 | EXPORT_SYMBOL(dm646xevm_eeprom_read); | ||
232 | |||
233 | int dm646xevm_eeprom_write(void *buf, off_t off, size_t count) | ||
234 | { | ||
235 | if (at24_mem_acc) | ||
236 | return at24_mem_acc->write(at24_mem_acc, buf, off, count); | ||
237 | return -ENODEV; | ||
238 | } | ||
239 | EXPORT_SYMBOL(dm646xevm_eeprom_write); | ||
240 | |||
241 | static struct i2c_board_info __initdata i2c_info[] = { | 225 | static struct i2c_board_info __initdata i2c_info[] = { |
242 | { | 226 | { |
243 | I2C_BOARD_INFO("24c256", 0x50), | 227 | I2C_BOARD_INFO("24c256", 0x50), |
diff --git a/arch/arm/mach-davinci/include/mach/board-dm6446evm.h b/arch/arm/mach-davinci/include/mach/board-dm6446evm.h deleted file mode 100644 index 3216f21c1238..000000000000 --- a/arch/arm/mach-davinci/include/mach/board-dm6446evm.h +++ /dev/null | |||
@@ -1,20 +0,0 @@ | |||
1 | /* | ||
2 | * DaVinci DM6446 EVM board specific headers | ||
3 | * | ||
4 | * Author: Kevin Hilman, Deep Root Systems, LLC | ||
5 | * | ||
6 | * 2007 (c) Deep Root Systems, LLC. This file is licensed under | ||
7 | * the terms of the GNU General Public License version 2. This program | ||
8 | * is licensed "as is" without any warranty of any kind, whether express | ||
9 | * or ifndef. | ||
10 | */ | ||
11 | |||
12 | #ifndef _MACH_DAVINCI_DM6446EVM_H | ||
13 | #define _MACH_DAVINCI_DM6446EVM_H | ||
14 | |||
15 | #include <linux/types.h> | ||
16 | |||
17 | int dm6446evm_eeprom_read(char *buf, off_t off, size_t count); | ||
18 | int dm6446evm_eeprom_write(char *buf, off_t off, size_t count); | ||
19 | |||
20 | #endif | ||