Skip to contentSkip to conversation

clk: mmp2-audio: add missing PM_CLK dependency

PATCH Applied Rosen Penev 2 participants 2 messages Oct 1 – Oct 2 Common clk

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 clk: mmp2-audio: add missing PM_CLK dependency

pm_clk_suspend() and pm_clk_resume() are used but a PM_CLK dependency is needed to expose them as actual functions. Otherwise they are defined as NULL, which does not work with functions having parameters. NULL is probably used as these functions are normally passed as function pointers.

While here, convert the block from spaces to tabs so it matches the surrounding Kconfig style.

---
 drivers/clk/Kconfig | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)
drivers/clk/Kconfig +6 -5
index d035f2dbecae..9789b2dae51e 100644
@@ -463,11 +463,12 @@ config COMMON_CLK_MMP2
 	  Support for Marvell MMP2 and MMP3 SoC clocks
 
 config COMMON_CLK_MMP2_AUDIO
-        tristate "Clock driver for MMP2 Audio subsystem"
-        depends on COMMON_CLK_MMP2 || COMPILE_TEST
-        select COMMON_CLK_MMP
-        help
-          This driver supports clocks for Audio subsystem on MMP2 SoC.
+	tristate "Clock driver for MMP2 Audio subsystem"
+	depends on COMMON_CLK_MMP2 || COMPILE_TEST
+	depends on PM_CLK
+	select COMMON_CLK_MMP
+	help
+	  This driver supports clocks for Audio subsystem on MMP2 SoC.
 
 config COMMON_CLK_BD718XX
 	tristate "Clock driver for 32K clk gates on ROHM PMICs"
Signature · 1 line
2.55.0
Applied
#1 lore raw
Quoted 1 line · Rosen Penev

clk: mmp2-audio: add missing PM_CLK dependency

Applied, thanks!

[1/1] clk: mmp2-audio: add missing PM_CLK dependency

      commit: c5898623e0df6ae0e97c957183ebacc13a6626e1

Best regards,

Signature · 1 line
Brian Masney <[email protected]>