ARM: davinci: sffsdr: fix the at24 eeprom device name
authorBartosz Golaszewski <bgolaszewski@baylibre.com>
Tue, 8 Jan 2019 09:15:34 +0000 (10:15 +0100)
committerSekhar Nori <nsekhar@ti.com>
Thu, 10 Jan 2019 08:27:59 +0000 (13:57 +0530)
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>
arch/arm/mach-davinci/board-sffsdr.c

index 792bb84..acd9778 100644 (file)
@@ -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: