Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 07792c7e authored by Johannes Thumshirn's avatar Johannes Thumshirn Committed by Greg Kroah-Hartman
Browse files

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: default avatarJohannes Thumshirn <johannes.thumshirn@men.de>
Reported-by: default avatarkbuild test robot <fengguang.wu@intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 0f78a11e
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -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