提交 07792c7e 编写于 作者: J Johannes Thumshirn 提交者: Greg Kroah-Hartman

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: NJohannes Thumshirn <johannes.thumshirn@men.de>
Reported-by: Nkbuild test robot <fengguang.wu@intel.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 0f78a11e
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册