[RFC PATCH] PM / devfreq: clk_get_parent_by_index() can be static

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Fixes: f01e004107f3 ("PM / devfreq: Add dynamic scaling for imx8m ddr controller")
Signed-off-by: kbuild test robot <lkp@xxxxxxxxx>
---
 imx8m-ddrc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/devfreq/imx8m-ddrc.c b/drivers/devfreq/imx8m-ddrc.c
index 62abb9b79d8a0..228561de94425 100644
--- a/drivers/devfreq/imx8m-ddrc.c
+++ b/drivers/devfreq/imx8m-ddrc.c
@@ -122,7 +122,7 @@ static void imx8m_ddrc_smc_set_freq(int target_freq)
 	local_irq_enable();
 }
 
-struct clk *clk_get_parent_by_index(struct clk *clk, int index)
+static struct clk *clk_get_parent_by_index(struct clk *clk, int index)
 {
 	struct clk_hw *hw;
 



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux