diff mbox series

[v1] clk: x86: Move clk-lpss.h to platform_data/x86

Message ID 20190218193415.79716-1-andriy.shevchenko@linux.intel.com (mailing list archive)
State Accepted, archived
Headers show
Series [v1] clk: x86: Move clk-lpss.h to platform_data/x86 | expand

Commit Message

Andy Shevchenko Feb. 18, 2019, 7:34 p.m. UTC
clk-lpss.h is solely x86 related header. Move it to correct folder.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 drivers/acpi/acpi_lpss.c                         | 2 +-
 drivers/clk/x86/clk-lpt.c                        | 2 +-
 include/linux/platform_data/{ => x86}/clk-lpss.h | 0
 3 files changed, 2 insertions(+), 2 deletions(-)
 rename include/linux/platform_data/{ => x86}/clk-lpss.h (100%)

Comments

Rafael J. Wysocki Feb. 18, 2019, 10 p.m. UTC | #1
On Monday, February 18, 2019 8:34:15 PM CET Andy Shevchenko wrote:
> clk-lpss.h is solely x86 related header. Move it to correct folder.
> 
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>

Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>

in case you want to take this through the platform-x86 tree.

> ---
>  drivers/acpi/acpi_lpss.c                         | 2 +-
>  drivers/clk/x86/clk-lpt.c                        | 2 +-
>  include/linux/platform_data/{ => x86}/clk-lpss.h | 0
>  3 files changed, 2 insertions(+), 2 deletions(-)
>  rename include/linux/platform_data/{ => x86}/clk-lpss.h (100%)
> 
> diff --git a/drivers/acpi/acpi_lpss.c b/drivers/acpi/acpi_lpss.c
> index 5f94c35d165f..1e2a10a06b9d 100644
> --- a/drivers/acpi/acpi_lpss.c
> +++ b/drivers/acpi/acpi_lpss.c
> @@ -18,7 +18,7 @@
>  #include <linux/mutex.h>
>  #include <linux/pci.h>
>  #include <linux/platform_device.h>
> -#include <linux/platform_data/clk-lpss.h>
> +#include <linux/platform_data/x86/clk-lpss.h>
>  #include <linux/platform_data/x86/pmc_atom.h>
>  #include <linux/pm_domain.h>
>  #include <linux/pm_runtime.h>
> diff --git a/drivers/clk/x86/clk-lpt.c b/drivers/clk/x86/clk-lpt.c
> index 6b40eb89ae19..68bd3abaef2c 100644
> --- a/drivers/clk/x86/clk-lpt.c
> +++ b/drivers/clk/x86/clk-lpt.c
> @@ -13,7 +13,7 @@
>  #include <linux/clk-provider.h>
>  #include <linux/err.h>
>  #include <linux/module.h>
> -#include <linux/platform_data/clk-lpss.h>
> +#include <linux/platform_data/x86/clk-lpss.h>
>  #include <linux/platform_device.h>
>  
>  static int lpt_clk_probe(struct platform_device *pdev)
> diff --git a/include/linux/platform_data/clk-lpss.h b/include/linux/platform_data/x86/clk-lpss.h
> similarity index 100%
> rename from include/linux/platform_data/clk-lpss.h
> rename to include/linux/platform_data/x86/clk-lpss.h
>
Andy Shevchenko Feb. 18, 2019, 10:46 p.m. UTC | #2
On Mon, Feb 18, 2019 at 11:00:59PM +0100, Rafael J. Wysocki wrote:
> On Monday, February 18, 2019 8:34:15 PM CET Andy Shevchenko wrote:
> > clk-lpss.h is solely x86 related header. Move it to correct folder.
> > 
> > Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> 
> Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
> 
> in case you want to take this through the platform-x86 tree.

I guess clock tree is the best for this.

> 
> > ---
> >  drivers/acpi/acpi_lpss.c                         | 2 +-
> >  drivers/clk/x86/clk-lpt.c                        | 2 +-
> >  include/linux/platform_data/{ => x86}/clk-lpss.h | 0
> >  3 files changed, 2 insertions(+), 2 deletions(-)
> >  rename include/linux/platform_data/{ => x86}/clk-lpss.h (100%)
> > 
> > diff --git a/drivers/acpi/acpi_lpss.c b/drivers/acpi/acpi_lpss.c
> > index 5f94c35d165f..1e2a10a06b9d 100644
> > --- a/drivers/acpi/acpi_lpss.c
> > +++ b/drivers/acpi/acpi_lpss.c
> > @@ -18,7 +18,7 @@
> >  #include <linux/mutex.h>
> >  #include <linux/pci.h>
> >  #include <linux/platform_device.h>
> > -#include <linux/platform_data/clk-lpss.h>
> > +#include <linux/platform_data/x86/clk-lpss.h>
> >  #include <linux/platform_data/x86/pmc_atom.h>
> >  #include <linux/pm_domain.h>
> >  #include <linux/pm_runtime.h>
> > diff --git a/drivers/clk/x86/clk-lpt.c b/drivers/clk/x86/clk-lpt.c
> > index 6b40eb89ae19..68bd3abaef2c 100644
> > --- a/drivers/clk/x86/clk-lpt.c
> > +++ b/drivers/clk/x86/clk-lpt.c
> > @@ -13,7 +13,7 @@
> >  #include <linux/clk-provider.h>
> >  #include <linux/err.h>
> >  #include <linux/module.h>
> > -#include <linux/platform_data/clk-lpss.h>
> > +#include <linux/platform_data/x86/clk-lpss.h>
> >  #include <linux/platform_device.h>
> >  
> >  static int lpt_clk_probe(struct platform_device *pdev)
> > diff --git a/include/linux/platform_data/clk-lpss.h b/include/linux/platform_data/x86/clk-lpss.h
> > similarity index 100%
> > rename from include/linux/platform_data/clk-lpss.h
> > rename to include/linux/platform_data/x86/clk-lpss.h
> > 
> 
>
Stephen Boyd Feb. 20, 2019, 7:38 p.m. UTC | #3
Quoting Andy Shevchenko (2019-02-18 14:46:43)
> On Mon, Feb 18, 2019 at 11:00:59PM +0100, Rafael J. Wysocki wrote:
> > On Monday, February 18, 2019 8:34:15 PM CET Andy Shevchenko wrote:
> > > clk-lpss.h is solely x86 related header. Move it to correct folder.
> > > 
> > > Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> > 
> > Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
> > 
> > in case you want to take this through the platform-x86 tree.
> 
> I guess clock tree is the best for this.

Ok I can pick it up.
Stephen Boyd Feb. 22, 2019, 8:14 a.m. UTC | #4
Quoting Andy Shevchenko (2019-02-18 11:34:15)
> clk-lpss.h is solely x86 related header. Move it to correct folder.
> 
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> ---

Applied to clk-next
diff mbox series

Patch

diff --git a/drivers/acpi/acpi_lpss.c b/drivers/acpi/acpi_lpss.c
index 5f94c35d165f..1e2a10a06b9d 100644
--- a/drivers/acpi/acpi_lpss.c
+++ b/drivers/acpi/acpi_lpss.c
@@ -18,7 +18,7 @@ 
 #include <linux/mutex.h>
 #include <linux/pci.h>
 #include <linux/platform_device.h>
-#include <linux/platform_data/clk-lpss.h>
+#include <linux/platform_data/x86/clk-lpss.h>
 #include <linux/platform_data/x86/pmc_atom.h>
 #include <linux/pm_domain.h>
 #include <linux/pm_runtime.h>
diff --git a/drivers/clk/x86/clk-lpt.c b/drivers/clk/x86/clk-lpt.c
index 6b40eb89ae19..68bd3abaef2c 100644
--- a/drivers/clk/x86/clk-lpt.c
+++ b/drivers/clk/x86/clk-lpt.c
@@ -13,7 +13,7 @@ 
 #include <linux/clk-provider.h>
 #include <linux/err.h>
 #include <linux/module.h>
-#include <linux/platform_data/clk-lpss.h>
+#include <linux/platform_data/x86/clk-lpss.h>
 #include <linux/platform_device.h>
 
 static int lpt_clk_probe(struct platform_device *pdev)
diff --git a/include/linux/platform_data/clk-lpss.h b/include/linux/platform_data/x86/clk-lpss.h
similarity index 100%
rename from include/linux/platform_data/clk-lpss.h
rename to include/linux/platform_data/x86/clk-lpss.h