tmp_suning_uos_patched/drivers/mcb/Kconfig
Johannes Thumshirn 07792c7e10 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>
2014-03-09 10:22:46 -07:00

32 lines
760 B
Plaintext

#
# MEN Chameleon Bus (MCB) support
#
menuconfig MCB
tristate "MCB support"
default n
depends on HAS_IOMEM
help
The MCB (MEN Chameleon Bus) is a Bus specific to MEN Mikroelektronik
FPGA based devices. It is used to identify MCB based IP-Cores within
an FPGA and provide the necessary framework for instantiating drivers
for these devices.
If build as a module, the module is called mcb.ko
if MCB
config MCB_PCI
tristate "PCI based MCB carrier"
default n
depends on PCI
help
This is a MCB carrier on a PCI device. Both PCI attached on-board
FPGAs as well as CompactPCI attached MCB FPGAs are supported with
this driver.
If build as a module, the module is called mcb-pci.ko
endif # MCB