summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBartosz Golaszewski <bgolaszewski@baylibre.com>2019-01-08 10:15:34 +0100
committerSekhar Nori <nsekhar@ti.com>2019-01-10 09:27:59 +0100
commit6dce6036325eb28962fb08dea955e45be7fde817 (patch)
tree3bca0776ef6f47d73dc48633b7100885ceb61fc8
parentARM: davinci: dm646x-evm: use device properties for at24 eeprom (diff)
downloadlinux-6dce6036325eb28962fb08dea955e45be7fde817.tar.xz
linux-6dce6036325eb28962fb08dea955e45be7fde817.zip
ARM: davinci: sffsdr: fix the at24 eeprom device name
The currently used 24lc64 i2c device name doesn't match against any of the devices supported by the at24 driver. Change it to the closest compatible chip. Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com> Signed-off-by: Sekhar Nori <nsekhar@ti.com>
-rw-r--r--arch/arm/mach-davinci/board-sffsdr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-davinci/board-sffsdr.c b/arch/arm/mach-davinci/board-sffsdr.c
index 792bb84d5011..acd9778ffa07 100644
--- a/arch/arm/mach-davinci/board-sffsdr.c
+++ b/arch/arm/mach-davinci/board-sffsdr.c
@@ -100,7 +100,7 @@ static struct at24_platform_data eeprom_info = {
static struct i2c_board_info __initdata i2c_info[] = {
{
- I2C_BOARD_INFO("24lc64", 0x50),
+ I2C_BOARD_INFO("24c64", 0x50),
.platform_data = &eeprom_info,
},
/* Other I2C devices: