[PATCH] clk: fix compile testing of scpi clk driver
Heiner Kallweit
hkallweit1 at gmail.com
Mon Nov 27 22:58:23 PST 2017
We now have a hard dependency on ARM_SCPI_PROTOCOL and may end up with
the following error:
ERROR: "get_scpi_ops" [drivers/clk/clk-scpi.ko] undefined!
Fix this by removing COMPILE_TEST from COMMON_CLK_SCPI dependencies.
Fixes: f7fee8be06a6 "firmware: arm_scpi: remove default for get_scpi_ops if not reachable"
Signed-off-by: Heiner Kallweit <hkallweit1 at gmail.com>
---
drivers/clk/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig
index 1c4e1aa67..fe6fd705f 100644
--- a/drivers/clk/Kconfig
+++ b/drivers/clk/Kconfig
@@ -64,7 +64,7 @@ config COMMON_CLK_HI655X
config COMMON_CLK_SCPI
tristate "Clock driver controlled via SCPI interface"
- depends on ARM_SCPI_PROTOCOL || COMPILE_TEST
+ depends on ARM_SCPI_PROTOCOL
---help---
This driver provides support for clocks that are controlled
by firmware that implements the SCPI interface.
--
2.15.0
More information about the linux-arm-kernel
mailing list