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 <[email protected]>
Reported-by: kbuild test robot <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
Johannes Thumshirn 2014-03-09 11:32:31 +01:00 • committed by Greg Kroah-Hartman
commit 07792c7e10

View 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