LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH] clk: ti: Drop use of clk-private.h
@ 2015-01-22 23:40 Stephen Boyd
2015-01-23 10:35 ` Paul Walmsley
0 siblings, 1 reply; 3+ messages in thread
From: Stephen Boyd @ 2015-01-22 23:40 UTC (permalink / raw)
To: Mike Turquette, Stephen Boyd
Cc: linux-kernel, Tero Kristo, Tony Lindgren, Paul Walmsley
These modules don't need to include clk-private.h. Replace the
include with clk.h because these modules are clock consumers and
also include clk-provider.h in clk/ti.h because struct
clk_hw_omap has a struct clk_hw embedded in it.
Cc: Tero Kristo <t-kristo@ti.com>
Cc: Tony Lindgren <tony@atomide.com>
Cc: Paul Walmsley <paul@pwsan.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
---
drivers/clk/ti/clk-44xx.c | 2 +-
drivers/clk/ti/clk-54xx.c | 2 +-
drivers/clk/ti/clk-7xx.c | 2 +-
include/linux/clk/ti.h | 1 +
4 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/drivers/clk/ti/clk-44xx.c b/drivers/clk/ti/clk-44xx.c
index 02517a8206bd..4f4c87751db5 100644
--- a/drivers/clk/ti/clk-44xx.c
+++ b/drivers/clk/ti/clk-44xx.c
@@ -12,7 +12,7 @@
#include <linux/kernel.h>
#include <linux/list.h>
-#include <linux/clk-private.h>
+#include <linux/clk.h>
#include <linux/clkdev.h>
#include <linux/clk/ti.h>
diff --git a/drivers/clk/ti/clk-54xx.c b/drivers/clk/ti/clk-54xx.c
index 5e183993e3ec..14160b223548 100644
--- a/drivers/clk/ti/clk-54xx.c
+++ b/drivers/clk/ti/clk-54xx.c
@@ -12,7 +12,7 @@
#include <linux/kernel.h>
#include <linux/list.h>
-#include <linux/clk-private.h>
+#include <linux/clk.h>
#include <linux/clkdev.h>
#include <linux/io.h>
#include <linux/clk/ti.h>
diff --git a/drivers/clk/ti/clk-7xx.c b/drivers/clk/ti/clk-7xx.c
index 62ac8f6e480c..ee32f4deebf4 100644
--- a/drivers/clk/ti/clk-7xx.c
+++ b/drivers/clk/ti/clk-7xx.c
@@ -12,7 +12,7 @@
#include <linux/kernel.h>
#include <linux/list.h>
-#include <linux/clk-private.h>
+#include <linux/clk.h>
#include <linux/clkdev.h>
#include <linux/clk/ti.h>
diff --git a/include/linux/clk/ti.h b/include/linux/clk/ti.h
index cfb9e554de6f..34042b56b0d0 100644
--- a/include/linux/clk/ti.h
+++ b/include/linux/clk/ti.h
@@ -15,6 +15,7 @@
#ifndef __LINUX_CLK_TI_H__
#define __LINUX_CLK_TI_H__
+#include <linux/clk-provider.h>
#include <linux/clkdev.h>
/**
--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] clk: ti: Drop use of clk-private.h
2015-01-22 23:40 [PATCH] clk: ti: Drop use of clk-private.h Stephen Boyd
@ 2015-01-23 10:35 ` Paul Walmsley
2015-01-27 20:00 ` Mike Turquette
0 siblings, 1 reply; 3+ messages in thread
From: Paul Walmsley @ 2015-01-23 10:35 UTC (permalink / raw)
To: Stephen Boyd; +Cc: Mike Turquette, linux-kernel, Tero Kristo, Tony Lindgren
On Thu, 22 Jan 2015, Stephen Boyd wrote:
> These modules don't need to include clk-private.h. Replace the
> include with clk.h because these modules are clock consumers and
> also include clk-provider.h in clk/ti.h because struct
> clk_hw_omap has a struct clk_hw embedded in it.
>
> Cc: Tero Kristo <t-kristo@ti.com>
> Cc: Tony Lindgren <tony@atomide.com>
> Cc: Paul Walmsley <paul@pwsan.com>
> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Reviewed-by: Paul Walmsley <paul@pwsan.com>
- Paul
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] clk: ti: Drop use of clk-private.h
2015-01-23 10:35 ` Paul Walmsley
@ 2015-01-27 20:00 ` Mike Turquette
0 siblings, 0 replies; 3+ messages in thread
From: Mike Turquette @ 2015-01-27 20:00 UTC (permalink / raw)
To: Paul Walmsley, Stephen Boyd; +Cc: linux-kernel, Tero Kristo, Tony Lindgren
Quoting Paul Walmsley (2015-01-23 02:35:07)
> On Thu, 22 Jan 2015, Stephen Boyd wrote:
>
> > These modules don't need to include clk-private.h. Replace the
> > include with clk.h because these modules are clock consumers and
> > also include clk-provider.h in clk/ti.h because struct
> > clk_hw_omap has a struct clk_hw embedded in it.
> >
> > Cc: Tero Kristo <t-kristo@ti.com>
> > Cc: Tony Lindgren <tony@atomide.com>
> > Cc: Paul Walmsley <paul@pwsan.com>
> > Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
>
> Reviewed-by: Paul Walmsley <paul@pwsan.com>
Applied to clk-next.
Regards,
Mike
>
>
> - Paul
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-01-27 20:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-22 23:40 [PATCH] clk: ti: Drop use of clk-private.h Stephen Boyd
2015-01-23 10:35 ` Paul Walmsley
2015-01-27 20:00 ` Mike Turquette
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).