ARM: S3C64XX: add I2C dependencies where needed
authorArnd Bergmann <arnd@arndb.de>
Thu, 26 Feb 2015 20:50:21 +0000 (05:50 +0900)
committerKukjin Kim <kgene@kernel.org>
Thu, 26 Feb 2015 20:50:21 +0000 (05:50 +0900)
commit261592e6b804c288d2010e98ee100548dbe91c06
tree8249ca7acfd64e15a754a87447e4a8ef623ba94a
parentc517d838eb7d07bbe9507871fab3931deccff539
ARM: S3C64XX: add I2C dependencies where needed

The SMDK6410_WM1190_EV1 and SMDK6410_WM1192_EV1 add-on
cards select MFD_WM*_I2C, but they ignore the fact that I2C
may be compiled as a loadable module.

This patch adds a dependency on I2C, which means we avoid
the build errors, but can end up in a case where the options
are hidden from the user when I2C is turned off.

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