drivers/i2c: remove !S390 dependency, add missing GENERIC_HARDIRQS dependencies
commitaaaf9cf71c43f42285f2b1a5b54c9306f3cc3150
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Wed, 6 Feb 2013 16:23:50 +0000 (6 17:23 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 11 Mar 2013 08:59:02 +0000 (11 09:59 +0100)
tree27b583eca0ffd11a8e165e4f2aef3d223b7d33d6
parentaebfa669d9fe77876f120d3d9a28fee240fe5a8e
drivers/i2c: remove !S390 dependency, add missing GENERIC_HARDIRQS dependencies

Remove !S390 dependency from i2c Kconfig, since s390 now supports PCI, HAS_IOMEM
and HAS_DMA, however we need to add a couple of GENERIC_HARDIRQS dependecies to
fix compile and link errors like these:

ERROR: "devm_request_threaded_irq" [drivers/i2c/i2c-smbus.ko] undefined!
ERROR: "devm_request_threaded_irq" [drivers/i2c/busses/i2c-ocores.ko] undefined!

Cc: Wolfram Sang <w.sang@pengutronix.de>
Cc: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/i2c/Kconfig
drivers/i2c/busses/Kconfig