Message ID | 20200212101544.8793-4-geert+renesas@glider.be (mailing list archive) |
---|---|
State | Mainlined |
Commit | 089a792c750dde659169c0b7ca9f1d056ee44c89 |
Delegated to: | Paul Burton |
Headers | show |
Series | MIPS: Replace <linux/clk-provider.h> by <linux/of_clk.h> | expand |
Quoting Geert Uytterhoeven (2020-02-12 02:15:40) > The generic MIPS 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 --git a/arch/mips/generic/init.c b/arch/mips/generic/init.c index 1de215b283d6a058..805d0135a9f4ea0b 100644 --- a/arch/mips/generic/init.c +++ b/arch/mips/generic/init.c @@ -5,10 +5,10 @@ */ #include <linux/clk.h> -#include <linux/clk-provider.h> #include <linux/clocksource.h> #include <linux/init.h> #include <linux/irqchip.h> +#include <linux/of_clk.h> #include <linux/of_fdt.h> #include <asm/bootinfo.h>
The generic MIPS 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/generic/init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)