linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] clk: fix compile testing of scpi clk driver
@ 2017-11-28  6:58 Heiner Kallweit
  2017-11-29 17:04 ` Stephen Boyd
  2017-12-04  2:25 ` Sudeep Holla
  0 siblings, 2 replies; 5+ messages in thread
From: Heiner Kallweit @ 2017-11-28  6:58 UTC (permalink / raw)
  To: linux-arm-kernel

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@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

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-12-04  2:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-28  6:58 [PATCH] clk: fix compile testing of scpi clk driver Heiner Kallweit
2017-11-29 17:04 ` Stephen Boyd
2017-11-29 20:37   ` Heiner Kallweit
2017-12-04  2:25     ` Sudeep Holla
2017-12-04  2:25 ` Sudeep Holla

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).