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

MIPS: ath79: Replace <linux/clk-provider.h> by <linux/of_clk.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>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Paul Burton <paulburton@kernel.org>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Florian Fainelli <f.fainelli@gmail.com>
Cc: Paul Cercueil <paul@crapouillou.net>
Cc: James Hartley <james.hartley@sondrel.com>
Cc: John Crispin <john@phrozen.org>
Cc: linux-mips@vger.kernel.org
Cc: bcm-kernel-feedback-list@broadcom.com
Cc: linux-clk@vger.kernel.org
Cc: linux-kernel@vger.kernel.org

authored by

Geert Uytterhoeven and committed by
Paul Burton
d2936bd0 11a48a5a

+1 -1
+1 -1
arch/mips/ath79/setup.c
··· 15 15 #include <linux/memblock.h> 16 16 #include <linux/err.h> 17 17 #include <linux/clk.h> 18 - #include <linux/clk-provider.h> 18 + #include <linux/of_clk.h> 19 19 #include <linux/of_fdt.h> 20 20 #include <linux/irqchip.h> 21 21