ARM: s3c24xx: MINI2440 needs I2C for EEPROM_AT24
authorArnd Bergmann <arnd@arndb.de>
Wed, 12 Feb 2014 20:22:13 +0000 (21:22 +0100)
committerArnd Bergmann <arnd@arndb.de>
Fri, 21 Mar 2014 17:26:13 +0000 (18:26 +0100)
If I2C is disabled, we cannot build the AT24 driver, so we
should not select it.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Kukjin Kim <kgene.kim@samsung.com>
Cc: Tomasz Figa <tomasz.figa@gmail.com>
Cc: Ben Dooks <ben-linux@fluff.org>
arch/arm/mach-s3c24xx/Kconfig

index d876431..bff3cc3 100644 (file)
@@ -537,7 +537,7 @@ config MACH_AT2440EVB
 
 config MACH_MINI2440
        bool "MINI2440 development board"
-       select EEPROM_AT24
+       select EEPROM_AT24 if I2C
        select LEDS_CLASS
        select LEDS_TRIGGERS
        select LEDS_TRIGGER_BACKLIGHT