Message ID | 201209121621.16019.arnd@arndb.de (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On 09/12/2012 10:21 AM, Arnd Bergmann wrote: > On Tuesday 11 September 2012, Stephen Warren wrote: > >>> .../mach/sdhci.h => include/linux/platform_data/mmc-sdhci-tegra.h | 0 >> >> I have a not-yet-applied (but ack'd by Chris Ball) patch to move this to >> include/linux/mmc/tegra_sdhci.h. I believe all the dependencies are >> staged in the Tegra tree now, so I can apply it if you want. I'm fine >> with you apply this patch though; just let me know. If you want to take >> your patch, then this part: >> >> Acked-by: Stephen Warren <swarren@wwwdotorg.org> > > I've redone my patch now, the version below is what I have now. OK, that looks fine.
diff --git a/arch/arm/mach-tegra/board-harmony.c b/arch/arm/mach-tegra/board-harmony.c index e65e837..5f428ff 100644 --- a/arch/arm/mach-tegra/board-harmony.c +++ b/arch/arm/mach-tegra/board-harmony.c @@ -26,6 +26,7 @@ #include <linux/io.h> #include <linux/gpio.h> #include <linux/i2c.h> +#include <linux/platform_data/mmc-sdhci-tegra.h> #include <sound/wm8903.h> @@ -38,7 +39,6 @@ #include <mach/tegra_wm8903_pdata.h> #include <mach/iomap.h> #include <mach/irqs.h> -#include <mach/sdhci.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..112bf68 100644 --- a/arch/arm/mach-tegra/board-paz00.c +++ b/arch/arm/mach-tegra/board-paz00.c @@ -31,6 +31,7 @@ #include <linux/i2c.h> #include <linux/gpio.h> #include <linux/rfkill-gpio.h> +#include <linux/platform_data/mmc-sdhci-tegra.h> #include <asm/hardware/gic.h> #include <asm/mach-types.h> @@ -40,7 +41,6 @@ #include <mach/iomap.h> #include <mach/irqs.h> -#include <mach/sdhci.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..8d1a66a 100644 --- a/arch/arm/mach-tegra/board-trimslice.c +++ b/arch/arm/mach-tegra/board-trimslice.c @@ -27,6 +27,7 @@ #include <linux/i2c.h> #include <linux/gpio.h> #include <linux/platform_data/tegra_usb.h> +#include <linux/platform_data/mmc-sdhci-tegra.h> #include <asm/hardware/gic.h> #include <asm/mach-types.h> @@ -34,7 +35,6 @@ #include <asm/setup.h> #include <mach/iomap.h> -#include <mach/sdhci.h> #include "board.h" #include "clock.h" 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/sdhci.h b/include/linux/platform_data/mmc-sdhci-tegra.h similarity index 84% rename from arch/arm/mach-tegra/include/mach/sdhci.h rename to include/linux/platform_data/mmc-sdhci-tegra.h index 4231bc7..8f84306 100644 --- a/arch/arm/mach-tegra/include/mach/sdhci.h +++ b/include/linux/platform_data/mmc-sdhci-tegra.h @@ -1,6 +1,4 @@ /* - * include/asm-arm/arch-tegra/include/mach/sdhci.h - * * Copyright (C) 2009 Palm, Inc. * Author: Yvonne Yip <y@palm.com> * @@ -14,8 +12,8 @@ * GNU General Public License for more details. * */ -#ifndef __ASM_ARM_ARCH_TEGRA_SDHCI_H -#define __ASM_ARM_ARCH_TEGRA_SDHCI_H +#ifndef __PLATFORM_DATA_TEGRA_SDHCI_H +#define __PLATFORM_DATA_TEGRA_SDHCI_H #include <linux/mmc/host.h>