Platform data for device drivers should be defined in
include/linux/platform_data/*.h, not in the architecture
and platform specific directories.

This moves such data out of the tegra include directories

Signed-off-by: Arnd Bergmann <a...@arndb.de>
Cc: Colin Cross <ccr...@android.com>
Cc: Olof Johansson <o...@lixom.net>
Cc: Stephen Warren <swar...@wwwdotorg.org>
Cc: Dmitry Torokhov <dmitry.torok...@gmail.com>
Cc: Chris Ball <c...@laptop.org>
Cc: Liam Girdwood <l...@ti.com>
Cc: Mark Brown <broo...@opensource.wolfsonmicro.com>
Cc: linux-te...@vger.kernel.org
---
 arch/arm/mach-tegra/board-harmony.c                                |    4 ++--
 arch/arm/mach-tegra/board-paz00.c                                  |    2 +-
 arch/arm/mach-tegra/board-trimslice.c                              |    2 +-
 drivers/input/keyboard/tegra-kbc.c                                 |    2 +-
 drivers/mmc/host/sdhci-tegra.c                                     |    2 +-
 .../linux/platform_data/asoc-tegra_wm8903.h                        |    0
 .../mach/kbc.h => include/linux/platform_data/keyboard-tegra-kbc.h |    0
 .../mach/sdhci.h => include/linux/platform_data/mmc-sdhci-tegra.h  |    0
 sound/soc/tegra/tegra_wm8903.c                                     |    2 +-
 9 files changed, 7 insertions(+), 7 deletions(-)
 rename arch/arm/mach-tegra/include/mach/tegra_wm8903_pdata.h => 
include/linux/platform_data/asoc-tegra_wm8903.h (100%)
 rename arch/arm/mach-tegra/include/mach/kbc.h => 
include/linux/platform_data/keyboard-tegra-kbc.h (100%)
 rename arch/arm/mach-tegra/include/mach/sdhci.h => 
include/linux/platform_data/mmc-sdhci-tegra.h (100%)

diff --git a/arch/arm/mach-tegra/board-harmony.c 
b/arch/arm/mach-tegra/board-harmony.c
index e65e837..31b3b72 100644
--- a/arch/arm/mach-tegra/board-harmony.c
+++ b/arch/arm/mach-tegra/board-harmony.c
@@ -35,10 +35,10 @@
 #include <asm/hardware/gic.h>
 #include <asm/setup.h>
 
-#include <mach/tegra_wm8903_pdata.h>
+#include <linux/platform_data/asoc-tegra_wm8903.h>
 #include <mach/iomap.h>
 #include <mach/irqs.h>
-#include <mach/sdhci.h>
+#include <linux/platform_data/mmc-sdhci-tegra.h>
 
 #include "board.h"
 #include "board-harmony.h"
diff --git a/arch/arm/mach-tegra/board-paz00.c 
b/arch/arm/mach-tegra/board-paz00.c
index 4b64af5..6dd6854 100644
--- a/arch/arm/mach-tegra/board-paz00.c
+++ b/arch/arm/mach-tegra/board-paz00.c
@@ -40,7 +40,7 @@
 
 #include <mach/iomap.h>
 #include <mach/irqs.h>
-#include <mach/sdhci.h>
+#include <linux/platform_data/mmc-sdhci-tegra.h>
 
 #include "board.h"
 #include "board-paz00.h"
diff --git a/arch/arm/mach-tegra/board-trimslice.c 
b/arch/arm/mach-tegra/board-trimslice.c
index 776aa95..fb80c8f 100644
--- a/arch/arm/mach-tegra/board-trimslice.c
+++ b/arch/arm/mach-tegra/board-trimslice.c
@@ -34,7 +34,7 @@
 #include <asm/setup.h>
 
 #include <mach/iomap.h>
-#include <mach/sdhci.h>
+#include <linux/platform_data/mmc-sdhci-tegra.h>
 
 #include "board.h"
 #include "clock.h"
diff --git a/drivers/input/keyboard/tegra-kbc.c 
b/drivers/input/keyboard/tegra-kbc.c
index 2c1c9ed..40aded8 100644
--- a/drivers/input/keyboard/tegra-kbc.c
+++ b/drivers/input/keyboard/tegra-kbc.c
@@ -30,7 +30,7 @@
 #include <linux/clk.h>
 #include <linux/slab.h>
 #include <mach/clk.h>
-#include <mach/kbc.h>
+#include <linux/platform_data/keyboard-tegra-kbc.h>
 
 #define KBC_MAX_DEBOUNCE_CNT   0x3ffu
 
diff --git a/drivers/mmc/host/sdhci-tegra.c b/drivers/mmc/host/sdhci-tegra.c
index 0810ccc..d43e746 100644
--- a/drivers/mmc/host/sdhci-tegra.c
+++ b/drivers/mmc/host/sdhci-tegra.c
@@ -28,7 +28,7 @@
 #include <asm/gpio.h>
 
 #include <mach/gpio-tegra.h>
-#include <mach/sdhci.h>
+#include <linux/platform_data/mmc-sdhci-tegra.h>
 
 #include "sdhci-pltfm.h"
 
diff --git a/arch/arm/mach-tegra/include/mach/tegra_wm8903_pdata.h 
b/include/linux/platform_data/asoc-tegra_wm8903.h
similarity index 100%
rename from arch/arm/mach-tegra/include/mach/tegra_wm8903_pdata.h
rename to include/linux/platform_data/asoc-tegra_wm8903.h
diff --git a/arch/arm/mach-tegra/include/mach/kbc.h 
b/include/linux/platform_data/keyboard-tegra-kbc.h
similarity index 100%
rename from arch/arm/mach-tegra/include/mach/kbc.h
rename to include/linux/platform_data/keyboard-tegra-kbc.h
diff --git a/arch/arm/mach-tegra/include/mach/sdhci.h 
b/include/linux/platform_data/mmc-sdhci-tegra.h
similarity index 100%
rename from arch/arm/mach-tegra/include/mach/sdhci.h
rename to include/linux/platform_data/mmc-sdhci-tegra.h
diff --git a/sound/soc/tegra/tegra_wm8903.c b/sound/soc/tegra/tegra_wm8903.c
index d4f14e4..8deedf5 100644
--- a/sound/soc/tegra/tegra_wm8903.c
+++ b/sound/soc/tegra/tegra_wm8903.c
@@ -34,7 +34,7 @@
 #include <linux/gpio.h>
 #include <linux/of_gpio.h>
 
-#include <mach/tegra_wm8903_pdata.h>
+#include <linux/platform_data/asoc-tegra_wm8903.h>
 
 #include <sound/core.h>
 #include <sound/jack.h>
-- 
1.7.10

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to