summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2020-11-10 16:48:51 +0100
committerMichal Simek <michal.simek@xilinx.com>2020-11-10 18:07:09 +0100
commite167a59c654a788cacbb0c2dd93859a715824d5c (patch)
tree5c8caaa60c8c79ccbe76d21f97265ed345767a78 /arch
parent3650b228f83adda7e5ee532e2b90429c03f7b9ec (diff)
microblaze: Replace <linux/clk-provider.h> by <linux/of_clk.h>
The MicroBlaze 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> Link: https://lore.kernel.org/r/20201110154851.3285695-1-geert+renesas@glider.be Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/microblaze/kernel/setup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/microblaze/kernel/setup.c b/arch/microblaze/kernel/setup.c
index 333b09658ca8..7fcf5279ad15 100644
--- a/arch/microblaze/kernel/setup.c
+++ b/arch/microblaze/kernel/setup.c
@@ -9,7 +9,7 @@
*/
#include <linux/init.h>
-#include <linux/clk-provider.h>
+#include <linux/of_clk.h>
#include <linux/clocksource.h>
#include <linux/string.h>
#include <linux/seq_file.h>