[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 5 May 2020 17:49:30 +0200
From: Lubomir Rintel <lkundrak@...sk>
To: Geert Uytterhoeven <geert+renesas@...der.be>
Cc: soc@...nel.org, Arnd Bergmann <arnd@...db.de>,
Kevin Hilman <khilman@...nel.org>,
Olof Johansson <olof@...om.net>,
Matthias Brugger <matthias.bgg@...il.com>,
linux-arm-kernel@...ts.infradead.org,
linux-mediatek@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 3/3] ARM: mmp: Replace <linux/clk-provider.h> by
<linux/of_clk.h>
On Tue, May 05, 2020 at 05:45:36PM +0200, Geert Uytterhoeven wrote:
> The Marvell MMP 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@...der.be>
> Reviewed-by: Stephen Boyd <sboyd@...nel.org>
Acked-by: Lubomir Rintel <lkundrak@...sk>
> ---
> v2:
> - Add Reviewed-by.
> ---
> arch/arm/mach-mmp/mmp-dt.c | 2 +-
> arch/arm/mach-mmp/mmp2-dt.c | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm/mach-mmp/mmp-dt.c b/arch/arm/mach-mmp/mmp-dt.c
> index 91214996acecc9fb..3f43c0867dcae4ed 100644
> --- a/arch/arm/mach-mmp/mmp-dt.c
> +++ b/arch/arm/mach-mmp/mmp-dt.c
> @@ -8,7 +8,7 @@
>
> #include <linux/irqchip.h>
> #include <linux/of_platform.h>
> -#include <linux/clk-provider.h>
> +#include <linux/of_clk.h>
> #include <linux/clocksource.h>
> #include <asm/mach/arch.h>
> #include <asm/mach/time.h>
> diff --git a/arch/arm/mach-mmp/mmp2-dt.c b/arch/arm/mach-mmp/mmp2-dt.c
> index 510c762ddc484c40..34a5fe4b3949167e 100644
> --- a/arch/arm/mach-mmp/mmp2-dt.c
> +++ b/arch/arm/mach-mmp/mmp2-dt.c
> @@ -9,7 +9,7 @@
> #include <linux/io.h>
> #include <linux/irqchip.h>
> #include <linux/of_platform.h>
> -#include <linux/clk-provider.h>
> +#include <linux/of_clk.h>
> #include <linux/clocksource.h>
> #include <asm/mach/arch.h>
> #include <asm/mach/time.h>
> --
> 2.17.1
>
Powered by blists - more mailing lists