aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2012-09-12 12:15:42 -0400
committerArnd Bergmann <arnd@arndb.de>2012-09-14 05:18:57 -0400
commite35742b034a29a1c00f12ab6d0a7ab779abc8f83 (patch)
tree9bb7846ff60840886c918c23ca71d7f5f8ccad0e
parenta1fd844c6e620f90d5c27713fddcec067abe9572 (diff)
ARM: tegra: move sdhci platform_data definition
Platform data for device drivers should be defined in include/linux/platform_data/*.h, not in the architecture and platform specific directories. This the definitions for the tegra sdhci driver out of the tegra include directories, which is the last one for this platform. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Acked-by: Nicolas Pitre <nico@linaro.org> Acked-by: Stephen Warren <swarren@wwwdotorg.org> Acked-by: Chris Ball <cjb@laptop.org>
-rw-r--r--arch/arm/mach-tegra/board-harmony.c2
-rw-r--r--arch/arm/mach-tegra/board-paz00.c2
-rw-r--r--arch/arm/mach-tegra/board-trimslice.c2
-rw-r--r--drivers/mmc/host/sdhci-tegra.c2
-rw-r--r--include/linux/platform_data/mmc-sdhci-tegra.h (renamed from arch/arm/mach-tegra/include/mach/sdhci.h)6
5 files changed, 6 insertions, 8 deletions
diff --git a/arch/arm/mach-tegra/board-harmony.c b/arch/arm/mach-tegra/board-harmony.c
index e65e837f4013..5f428ff61fe9 100644
--- a/arch/arm/mach-tegra/board-harmony.c
+++ b/arch/arm/mach-tegra/board-harmony.c
@@ -26,6 +26,7 @@
26#include <linux/io.h> 26#include <linux/io.h>
27#include <linux/gpio.h> 27#include <linux/gpio.h>
28#include <linux/i2c.h> 28#include <linux/i2c.h>
29#include <linux/platform_data/mmc-sdhci-tegra.h>
29 30
30#include <sound/wm8903.h> 31#include <sound/wm8903.h>
31 32
@@ -38,7 +39,6 @@
38#include <mach/tegra_wm8903_pdata.h> 39#include <mach/tegra_wm8903_pdata.h>
39#include <mach/iomap.h> 40#include <mach/iomap.h>
40#include <mach/irqs.h> 41#include <mach/irqs.h>
41#include <mach/sdhci.h>
42 42
43#include "board.h" 43#include "board.h"
44#include "board-harmony.h" 44#include "board-harmony.h"
diff --git a/arch/arm/mach-tegra/board-paz00.c b/arch/arm/mach-tegra/board-paz00.c
index 4b64af5cab27..112bf683283b 100644
--- a/arch/arm/mach-tegra/board-paz00.c
+++ b/arch/arm/mach-tegra/board-paz00.c
@@ -31,6 +31,7 @@
31#include <linux/i2c.h> 31#include <linux/i2c.h>
32#include <linux/gpio.h> 32#include <linux/gpio.h>
33#include <linux/rfkill-gpio.h> 33#include <linux/rfkill-gpio.h>
34#include <linux/platform_data/mmc-sdhci-tegra.h>
34 35
35#include <asm/hardware/gic.h> 36#include <asm/hardware/gic.h>
36#include <asm/mach-types.h> 37#include <asm/mach-types.h>
@@ -40,7 +41,6 @@
40 41
41#include <mach/iomap.h> 42#include <mach/iomap.h>
42#include <mach/irqs.h> 43#include <mach/irqs.h>
43#include <mach/sdhci.h>
44 44
45#include "board.h" 45#include "board.h"
46#include "board-paz00.h" 46#include "board-paz00.h"
diff --git a/arch/arm/mach-tegra/board-trimslice.c b/arch/arm/mach-tegra/board-trimslice.c
index 776aa9564d5d..8d1a66a27e38 100644
--- a/arch/arm/mach-tegra/board-trimslice.c
+++ b/arch/arm/mach-tegra/board-trimslice.c
@@ -27,6 +27,7 @@
27#include <linux/i2c.h> 27#include <linux/i2c.h>
28#include <linux/gpio.h> 28#include <linux/gpio.h>
29#include <linux/platform_data/tegra_usb.h> 29#include <linux/platform_data/tegra_usb.h>
30#include <linux/platform_data/mmc-sdhci-tegra.h>
30 31
31#include <asm/hardware/gic.h> 32#include <asm/hardware/gic.h>
32#include <asm/mach-types.h> 33#include <asm/mach-types.h>
@@ -34,7 +35,6 @@
34#include <asm/setup.h> 35#include <asm/setup.h>
35 36
36#include <mach/iomap.h> 37#include <mach/iomap.h>
37#include <mach/sdhci.h>
38 38
39#include "board.h" 39#include "board.h"
40#include "clock.h" 40#include "clock.h"
diff --git a/drivers/mmc/host/sdhci-tegra.c b/drivers/mmc/host/sdhci-tegra.c
index 0810ccc23d7e..d43e7462941f 100644
--- a/drivers/mmc/host/sdhci-tegra.c
+++ b/drivers/mmc/host/sdhci-tegra.c
@@ -28,7 +28,7 @@
28#include <asm/gpio.h> 28#include <asm/gpio.h>
29 29
30#include <mach/gpio-tegra.h> 30#include <mach/gpio-tegra.h>
31#include <mach/sdhci.h> 31#include <linux/platform_data/mmc-sdhci-tegra.h>
32 32
33#include "sdhci-pltfm.h" 33#include "sdhci-pltfm.h"
34 34
diff --git a/arch/arm/mach-tegra/include/mach/sdhci.h b/include/linux/platform_data/mmc-sdhci-tegra.h
index 4231bc7b8652..8f8430697686 100644
--- a/arch/arm/mach-tegra/include/mach/sdhci.h
+++ b/include/linux/platform_data/mmc-sdhci-tegra.h
@@ -1,6 +1,4 @@
1/* 1/*
2 * include/asm-arm/arch-tegra/include/mach/sdhci.h
3 *
4 * Copyright (C) 2009 Palm, Inc. 2 * Copyright (C) 2009 Palm, Inc.
5 * Author: Yvonne Yip <y@palm.com> 3 * Author: Yvonne Yip <y@palm.com>
6 * 4 *
@@ -14,8 +12,8 @@
14 * GNU General Public License for more details. 12 * GNU General Public License for more details.
15 * 13 *
16 */ 14 */
17#ifndef __ASM_ARM_ARCH_TEGRA_SDHCI_H 15#ifndef __PLATFORM_DATA_TEGRA_SDHCI_H
18#define __ASM_ARM_ARCH_TEGRA_SDHCI_H 16#define __PLATFORM_DATA_TEGRA_SDHCI_H
19 17
20#include <linux/mmc/host.h> 18#include <linux/mmc/host.h>
21 19