linux/arch/arm/mach-orion5x
Arnd Bergmann 993e221518 ARM: orion: only select I2C_BOARDINFO when using I2C
If we select I2C_BOARDINFO and I2C is disabled, we get a
harmless Kconfig warning:

warning: (MACH_DOVE_DB && MACH_DB88F5281 && MACH_RD88F5182 && MACH_RD88F5182_DT && MACH_KUROBOX_PRO && MACH_DNS323 && MACH_LINKSTATION_PRO && MACH_LINKSTATION_LSCHL && MACH_LINKSTATION_LS_HGL && MACH_NET2BIG) selects I2C_BOARDINFO which has unmet direct dependencies (I2C)

Making the select itself conditional avoids the warning and
makes the kernel slightly smaller as the compiler will be
able to drop the unused board info.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Acked-by: Jason Cooper <jason@lakedaemon.net>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
2016-02-25 15:37:16 +01:00
..
board-d2net.c ARM: orion5x: clean up mach/*.h headers 2015-12-07 18:17:48 +01:00
board-dt.c ARM: orion5x: clean up mach/*.h headers 2015-12-07 18:17:48 +01:00
board-mss2.c ARM: orion5x: clean up mach/*.h headers 2015-12-07 18:17:48 +01:00
board-rd88f5182.c ARM: orion5x: clean up mach/*.h headers 2015-12-07 18:17:48 +01:00
bridge-regs.h ARM: orion5x: clean up mach/*.h headers 2015-12-07 18:17:48 +01:00
common.c ARM: orion5x: clean up mach/*.h headers 2015-12-07 18:17:48 +01:00
common.h Merge branch 'for-linus' of git://ftp.arm.linux.org.uk/~rmk/linux-arm into next 2014-06-05 15:57:04 -07:00
db88f5281-setup.c ARM: orion5x: clean up mach/*.h headers 2015-12-07 18:17:48 +01:00
dns323-setup.c ARM: orion5x: clean up mach/*.h headers 2015-12-07 18:17:48 +01:00
irq.c ARM: orion5x: clean up mach/*.h headers 2015-12-07 18:17:48 +01:00
irqs.h ARM: orion5x: clean up mach/*.h headers 2015-12-07 18:17:48 +01:00
Kconfig ARM: orion: only select I2C_BOARDINFO when using I2C 2016-02-25 15:37:16 +01:00
kurobox_pro-setup.c ARM: orion5x: clean up mach/*.h headers 2015-12-07 18:17:48 +01:00
ls-chl-setup.c ARM: orion5x: clean up mach/*.h headers 2015-12-07 18:17:48 +01:00
ls_hgl-setup.c ARM: orion5x: clean up mach/*.h headers 2015-12-07 18:17:48 +01:00
Makefile ARM: orion5x: multiplatform support 2015-12-07 18:17:54 +01:00
Makefile.boot ARM: 7022/1: allow to detect conflicting zreladdrs 2011-10-17 09:12:40 +01:00
mpp.c ARM: orion5x: clean up mach/*.h headers 2015-12-07 18:17:48 +01:00
mpp.h ARM: orion5x: Fix GPIO enable bits for MPP9 2012-05-08 18:57:21 +00:00
mv2120-setup.c ARM: orion5x: clean up mach/*.h headers 2015-12-07 18:17:48 +01:00
net2big-setup.c ARM: orion5x: clean up mach/*.h headers 2015-12-07 18:17:48 +01:00
orion5x.h ARM: orion5x: clean up mach/*.h headers 2015-12-07 18:17:48 +01:00
pci.c ARM: orion5x: clean up mach/*.h headers 2015-12-07 18:17:48 +01:00
rd88f5181l-fxo-setup.c ARM: orion5x: clean up mach/*.h headers 2015-12-07 18:17:48 +01:00
rd88f5181l-ge-setup.c ARM: orion5x: clean up mach/*.h headers 2015-12-07 18:17:48 +01:00
rd88f5182-setup.c ARM: orion5x: clean up mach/*.h headers 2015-12-07 18:17:48 +01:00
rd88f6183ap-ge-setup.c ARM: orion5x: clean up mach/*.h headers 2015-12-07 18:17:48 +01:00
terastation_pro2-setup.c ARM: orion5x: clean up mach/*.h headers 2015-12-07 18:17:48 +01:00
ts78xx-fpga.h ARM: orion5x: ts78xx whitespace cleanups 2012-05-14 18:13:00 +02:00
ts78xx-setup.c ARM: SoC multiplatform code changes for v4.5 2016-01-20 18:03:56 -08:00
ts209-setup.c ARM: orion5x: clean up mach/*.h headers 2015-12-07 18:17:48 +01:00
ts409-setup.c ARM: orion5x: clean up mach/*.h headers 2015-12-07 18:17:48 +01:00
tsx09-common.c ARM: orion5x: clean up mach/*.h headers 2015-12-07 18:17:48 +01:00
tsx09-common.h [ARM] Orion: remove code duplication in TS209 and TS409 setup files 2008-06-22 22:44:54 +02:00
wnr854t-setup.c ARM: orion5x: clean up mach/*.h headers 2015-12-07 18:17:48 +01:00
wrt350n-v2-setup.c ARM: orion5x: clean up mach/*.h headers 2015-12-07 18:17:48 +01:00