linux-clk.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1] clk: x86: Move clk-lpss.h to platform_data/x86
@ 2019-02-18 19:34 Andy Shevchenko
  2019-02-18 22:00 ` Rafael J. Wysocki
  2019-02-22  8:14 ` Stephen Boyd
  0 siblings, 2 replies; 5+ messages in thread
From: Andy Shevchenko @ 2019-02-18 19:34 UTC (permalink / raw)
  To: Rafael J. Wysocki, linux-acpi, Michael Turquette, Stephen Boyd,
	linux-clk, Hans de Goede
  Cc: Andy Shevchenko

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%)

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
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-02-22  8:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-18 19:34 [PATCH v1] clk: x86: Move clk-lpss.h to platform_data/x86 Andy Shevchenko
2019-02-18 22:00 ` Rafael J. Wysocki
2019-02-18 22:46   ` Andy Shevchenko
2019-02-20 19:38     ` Stephen Boyd
2019-02-22  8:14 ` Stephen Boyd

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).