aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mcb
diff options
context:
space:
mode:
authorJohannes Thumshirn <morbidrsa@gmail.com>2014-03-09 06:32:31 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-03-09 13:22:46 -0400
commit07792c7e102110b9e7243c5c6aca891041272b67 (patch)
treee16a764e1d103c235d8e7c68fa0723496189dff8 /drivers/mcb
parent0f78a11e24652bdc508f9b937faf7970c708f44f (diff)
drivers: mcb: Fix build error discovered by 0-day bot
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>
Diffstat (limited to 'drivers/mcb')
-rw-r--r--drivers/mcb/Kconfig5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/mcb/Kconfig b/drivers/mcb/Kconfig
index fe8252831c1c..e9a6976e1010 100644
--- a/drivers/mcb/Kconfig
+++ b/drivers/mcb/Kconfig
@@ -4,6 +4,8 @@
4 4
5menuconfig MCB 5menuconfig MCB
6 tristate "MCB support" 6 tristate "MCB support"
7 default n
8 depends on HAS_IOMEM
7 help 9 help
8 10
9 The MCB (MEN Chameleon Bus) is a Bus specific to MEN Mikroelektronik 11 The MCB (MEN Chameleon Bus) is a Bus specific to MEN Mikroelektronik
@@ -16,7 +18,8 @@ menuconfig MCB
16if MCB 18if MCB
17config MCB_PCI 19config MCB_PCI
18 tristate "PCI based MCB carrier" 20 tristate "PCI based MCB carrier"
19 default m 21 default n
22 depends on PCI
20 help 23 help
21 24
22 This is a MCB carrier on a PCI device. Both PCI attached on-board 25 This is a MCB carrier on a PCI device. Both PCI attached on-board