drivers: mcb: Fix build error discovered by 0-day bot
authorJohannes Thumshirn <morbidrsa@gmail.com>
Sun, 9 Mar 2014 10:32:31 +0000 (11:32 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 9 Mar 2014 17:22:46 +0000 (10:22 -0700)
Make mcb depend on HAS_IOMEM and mcb-pci depend on PCI. This fixes build errors
discovered by the 0-day kernel build testing system.

Signed-off-by: Johannes Thumshirn <johannes.thumshirn@men.de>
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/mcb/Kconfig

index fe8252831c1ce0716a49ab858c0d620a18d4b3bb..e9a6976e101071b99fd8149d2cf9741911d8a6cc 100644 (file)
@@ -4,6 +4,8 @@
 
 menuconfig MCB
           tristate "MCB support"
+          default n
+          depends on HAS_IOMEM
           help
 
           The MCB (MEN Chameleon Bus) is a Bus specific to MEN Mikroelektronik
@@ -16,7 +18,8 @@ menuconfig MCB
 if MCB
 config MCB_PCI
           tristate "PCI based MCB carrier"
-          default m
+          default n
+          depends on PCI
           help
 
           This is a MCB carrier on a PCI device. Both PCI attached on-board