Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

mfd: sgi-ioc3: Turn Kconfig option into a bool

Module builds of ioc3 fail with following errors:

ERROR: "spurious_interrupt" [drivers/mfd/ioc3.ko] undefined!
ERROR: "pci_find_host_bridge" [drivers/mfd/ioc3.ko] undefined!

Exporting pci_find_host_bridge got rejected by maintainer, so easiest
fix is to disable module building, which even makes sense since both
SGI Origin and Octane always contain at least one IOC3 chip.

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: Lee Jones <lee.jones@linaro.org>

authored by

Thomas Bogendoerfer and committed by
Lee Jones
cd2b909b b0b5b16b

+1 -1
+1 -1
drivers/mfd/Kconfig
··· 2129 2129 device found on several devices in RAVE line of hardware. 2130 2130 2131 2131 config SGI_MFD_IOC3 2132 - tristate "SGI IOC3 core driver" 2132 + bool "SGI IOC3 core driver" 2133 2133 depends on PCI && MIPS && 64BIT 2134 2134 select MFD_CORE 2135 2135 help