diff options
author | Johannes Thumshirn <morbidrsa@gmail.com> | 2014-03-09 11:32:31 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-03-09 10:22:46 -0700 |
commit | 07792c7e102110b9e7243c5c6aca891041272b67 (patch) | |
tree | e16a764e1d103c235d8e7c68fa0723496189dff8 /drivers/mcb/Kconfig | |
parent | 0f78a11e24652bdc508f9b937faf7970c708f44f (diff) | |
download | op-kernel-dev-07792c7e102110b9e7243c5c6aca891041272b67.zip op-kernel-dev-07792c7e102110b9e7243c5c6aca891041272b67.tar.gz |
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/Kconfig')
-rw-r--r-- | drivers/mcb/Kconfig | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/mcb/Kconfig b/drivers/mcb/Kconfig index fe82528..e9a6976 100644 --- a/drivers/mcb/Kconfig +++ b/drivers/mcb/Kconfig @@ -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 |