soc: a64fx-diag: disable modular build
authorArnd Bergmann <arnd@arndb.de>
Wed, 20 Jul 2022 15:58:18 +0000 (17:58 +0200)
committerArnd Bergmann <arnd@arndb.de>
Wed, 20 Jul 2022 15:58:18 +0000 (17:58 +0200)
The NMI infrastructure cannot currently be used in loadable modules:

ERROR: modpost: "free_nmi" [drivers/soc/fujitsu/a64fx-diag.ko] undefined!
ERROR: modpost: "request_nmi" [drivers/soc/fujitsu/a64fx-diag.ko] undefined!
ERROR: modpost: "enable_nmi" [drivers/soc/fujitsu/a64fx-diag.ko] undefined!

Disable this for now to make allmodconfig build again. We may revisit
this and export those symbols instead in the future.

Reported-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
drivers/soc/fujitsu/Kconfig

index 56275b4..987731e 100644 (file)
@@ -2,7 +2,7 @@
 menu "fujitsu SoC drivers"
 
 config A64FX_DIAG
-       tristate "A64FX diag driver"
+       bool "A64FX diag driver"
        depends on ARM64
        depends on ACPI
        help