Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: mediatek: Replace <linux/clk-provider.h> by <linux/of_clk.h>

The Mediatek 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>.

Link: https://lore.kernel.org/r/20200505154536.4099-3-geert+renesas@glider.be
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>

authored by

Geert Uytterhoeven and committed by
Arnd Bergmann
1c2f05e7 9bffcf42

+1 -1
+1 -1
arch/arm/mach-mediatek/mediatek.c
··· 9 9 #include <linux/io.h> 10 10 #include <asm/mach/arch.h> 11 11 #include <linux/of.h> 12 - #include <linux/clk-provider.h> 12 + #include <linux/of_clk.h> 13 13 #include <linux/clocksource.h> 14 14 15 15