[PATCH 1/2] drivers: mcb: Fix build error discovered by 0-day bot

From: Johannes Thumshirn
Date: Mon Mar 03 2014 - 15:47:10 EST


From: Johannes Thumshirn <morbidrsa@xxxxxxxxx>

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@xxxxxx>
---
drivers/mcb/Kconfig | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/mcb/Kconfig b/drivers/mcb/Kconfig
index b8f5d46..87d5a46 100644
--- a/drivers/mcb/Kconfig
+++ b/drivers/mcb/Kconfig
@@ -4,7 +4,7 @@

menuconfig MCB
tristate "MCB support"
- default m
+ depends on HAS_IOMEM
help

The MCB (MEN Chameleon Bus) is a Bus specific to MEN Mikroelektronik
@@ -18,6 +18,7 @@ if MCB
config MCB_PCI
tristate "PCI based MCB carrier"
default m
+ depends on PCI
help

This is a MCB carrier on a PCI device. Both PCI attached on-board
--
1.8.5.3

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/