From mboxrd@z Thu Jan 1 00:00:00 1970 From: marex@denx.de (Marek Vasut) Date: Tue, 8 May 2012 01:47:19 +0200 Subject: [PATCH 04/10] mmc: mxs-mmc: move header from mach into linux folder In-Reply-To: <1336401793-13753-5-git-send-email-shawn.guo@linaro.org> References: <1336401793-13753-1-git-send-email-shawn.guo@linaro.org> <1336401793-13753-5-git-send-email-shawn.guo@linaro.org> Message-ID: <201205080147.20128.marex@denx.de> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Dear Shawn Guo, > Rename arch/arm/mach-mxs/include/mach/mmc.h to > include/linux/mmc/mxs-mmc.h, so that mxs-mmc driver becomes > inclusion free. Good :-) Acked-by: Marek Vasut > > Signed-off-by: Shawn Guo > --- > arch/arm/mach-mxs/include/mach/devices-common.h | 2 +- > drivers/mmc/host/mxs-mmc.c | 3 +-- > .../mach/mmc.h => include/linux/mmc/mxs-mmc.h | 7 ++++--- > 3 files changed, 6 insertions(+), 6 deletions(-) > rename arch/arm/mach-mxs/include/mach/mmc.h => include/linux/mmc/mxs-mmc.h > (81%) > > diff --git a/arch/arm/mach-mxs/include/mach/devices-common.h > b/arch/arm/mach-mxs/include/mach/devices-common.h index 2b37689..6fc0601 > 100644 > --- a/arch/arm/mach-mxs/include/mach/devices-common.h > +++ b/arch/arm/mach-mxs/include/mach/devices-common.h > @@ -87,7 +87,7 @@ struct platform_device * __init mxs_add_mxs_i2c( > const struct mxs_mxs_i2c_data *data); > > /* mmc */ > -#include > +#include > struct mxs_mxs_mmc_data { > const char *devid; > int id; > diff --git a/drivers/mmc/host/mxs-mmc.c b/drivers/mmc/host/mxs-mmc.c > index 54bbb8b..c70c7c7 100644 > --- a/drivers/mmc/host/mxs-mmc.c > +++ b/drivers/mmc/host/mxs-mmc.c > @@ -41,8 +41,7 @@ > #include > #include > #include > - > -#include > +#include > > #define DRIVER_NAME "mxs-mmc" > > diff --git a/arch/arm/mach-mxs/include/mach/mmc.h > b/include/linux/mmc/mxs-mmc.h similarity index 81% > rename from arch/arm/mach-mxs/include/mach/mmc.h > rename to include/linux/mmc/mxs-mmc.h > index 211547a..7c2ad3a 100644 > --- a/arch/arm/mach-mxs/include/mach/mmc.h > +++ b/include/linux/mmc/mxs-mmc.h > @@ -6,8 +6,8 @@ > * published by the Free Software Foundation. > */ > > -#ifndef __MACH_MXS_MMC_H__ > -#define __MACH_MXS_MMC_H__ > +#ifndef __LINUX_MMC_MXS_MMC_H__ > +#define __LINUX_MMC_MXS_MMC_H__ > > struct mxs_mmc_platform_data { > int wp_gpio; /* write protect pin */ > @@ -15,4 +15,5 @@ struct mxs_mmc_platform_data { > #define SLOTF_4_BIT_CAPABLE (1 << 0) > #define SLOTF_8_BIT_CAPABLE (1 << 1) > }; > -#endif /* __MACH_MXS_MMC_H__ */ > + > +#endif /* __LINUX_MMC_MXS_MMC_H__ */ Best regards, Marek Vasut