Message ID | 20200212101544.8793-2-geert+renesas@glider.be (mailing list archive) |
---|---|
State | Mainlined |
Commit | d2936bd02b196f1c12bca1175e8fb09fefdfa47f |
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:38) > The Atheros 7/9xxx 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/ath79/setup.c b/arch/mips/ath79/setup.c index 484ee28922a9ac3f..acb4fd647a304754 100644 --- a/arch/mips/ath79/setup.c +++ b/arch/mips/ath79/setup.c @@ -15,7 +15,7 @@ #include <linux/memblock.h> #include <linux/err.h> #include <linux/clk.h> -#include <linux/clk-provider.h> +#include <linux/of_clk.h> #include <linux/of_fdt.h> #include <linux/irqchip.h>
The Atheros 7/9xxx 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/ath79/setup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)