diff mbox series

[2/7] MIPS: BMIPS: Replace <linux/clk-provider.h> by <linux/of_clk.h>

Message ID 20200212101544.8793-3-geert+renesas@glider.be (mailing list archive)
State Mainlined
Commit e40b3deff7aff22666a3f18c175f4a0f9da79c35
Delegated to: Paul Burton
Headers show
Series MIPS: Replace <linux/clk-provider.h> by <linux/of_clk.h> | expand

Commit Message

Geert Uytterhoeven Feb. 12, 2020, 10:15 a.m. UTC
The Broadcom BMIPS platform code is not a clock provider, and just needs
to call of_clk_init().

Hence it can include <linux/of_clk.h> instead of <linux/clk-provider.h>.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 arch/mips/bmips/setup.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Florian Fainelli Feb. 12, 2020, 5:45 p.m. UTC | #1
On 2/12/20 2:15 AM, Geert Uytterhoeven wrote:
> The Broadcom BMIPS platform code is not a clock provider, and just needs
> to call of_clk_init().
> 
> Hence it can include <linux/of_clk.h> instead of <linux/clk-provider.h>.
> 
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>

Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Stephen Boyd Feb. 12, 2020, 6:53 p.m. UTC | #2
Quoting Geert Uytterhoeven (2020-02-12 02:15:39)
> The Broadcom BMIPS platform code is not a clock provider, and just needs
> to call of_clk_init().
> 
> Hence it can include <linux/of_clk.h> instead of <linux/clk-provider.h>.
> 
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> ---

Reviewed-by: Stephen Boyd <sboyd@kernel.org>
diff mbox series

Patch

diff --git a/arch/mips/bmips/setup.c b/arch/mips/bmips/setup.c
index 2f81a94c71a60f74..19308df5f577914d 100644
--- a/arch/mips/bmips/setup.c
+++ b/arch/mips/bmips/setup.c
@@ -10,11 +10,11 @@ 
 #include <linux/init.h>
 #include <linux/bitops.h>
 #include <linux/memblock.h>
-#include <linux/clk-provider.h>
 #include <linux/ioport.h>
 #include <linux/kernel.h>
 #include <linux/io.h>
 #include <linux/of.h>
+#include <linux/of_clk.h>
 #include <linux/of_fdt.h>
 #include <linux/of_platform.h>
 #include <linux/libfdt.h>