mfd: sgi-ioc3: Turn Kconfig option into a bool
authorThomas Bogendoerfer <tsbogend@alpha.franken.de>
Mon, 7 Dec 2020 14:14:46 +0000 (15:14 +0100)
committerLee Jones <lee.jones@linaro.org>
Mon, 8 Feb 2021 13:54:05 +0000 (13:54 +0000)
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>
drivers/mfd/Kconfig

index bdfce7b..79274fc 100644 (file)
@@ -2129,7 +2129,7 @@ config RAVE_SP_CORE
          device found on several devices in RAVE line of hardware.
 
 config SGI_MFD_IOC3
-       tristate "SGI IOC3 core driver"
+       bool "SGI IOC3 core driver"
        depends on PCI && MIPS && 64BIT
        select MFD_CORE
        help