From: Arnd Bergmann Date: Wed, 20 Jul 2022 15:58:18 +0000 (+0200) Subject: soc: a64fx-diag: disable modular build X-Git-Tag: v6.1-rc5~785^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f740949d41a7ff85aa23ce62c29d095066e5e6d4;p=platform%2Fkernel%2Flinux-starfive.git soc: a64fx-diag: disable modular build 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 Signed-off-by: Arnd Bergmann --- diff --git a/drivers/soc/fujitsu/Kconfig b/drivers/soc/fujitsu/Kconfig index 56275b4..987731e 100644 --- a/drivers/soc/fujitsu/Kconfig +++ b/drivers/soc/fujitsu/Kconfig @@ -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