]> Pileus Git - ~andy/linux/commitdiff
mmc: sdhci-pxa: move platform data to include/linux/platform_data
authorZhangfei Gao <zhangfei.gao@marvell.com>
Mon, 20 Jun 2011 14:11:52 +0000 (22:11 +0800)
committerChris Ball <cjb@laptop.org>
Wed, 20 Jul 2011 21:20:52 +0000 (17:20 -0400)
As suggested by Arnd, move platform data to include/linux/platform_data
in order to improve build coverage for the driver.

Signed-off-by: Zhangfei Gao <zhangfei.gao@marvell.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Chris Ball <cjb@laptop.org>
arch/arm/mach-mmp/include/mach/mmp2.h
drivers/mmc/host/sdhci-pxav2.c
drivers/mmc/host/sdhci-pxav3.c
include/linux/platform_data/pxa_sdhci.h [moved from arch/arm/plat-pxa/include/plat/sdhci.h with 92% similarity]

index 2cbf6df09b82851ae7117c69279994723c41ec9f..de7b88826ad792f8ff44c7c55244b98adc1b0eca 100644 (file)
@@ -1,7 +1,7 @@
 #ifndef __ASM_MACH_MMP2_H
 #define __ASM_MACH_MMP2_H
 
-#include <plat/sdhci.h>
+#include <linux/platform_data/pxa_sdhci.h>
 
 struct sys_timer;
 
index 7a6fa8c083639e01c2d755ebbf5f887dabbb3113..38f58994f79a816e353717c8b69bdb3b409fbe0e 100644 (file)
@@ -25,7 +25,7 @@
 #include <linux/gpio.h>
 #include <linux/mmc/card.h>
 #include <linux/mmc/host.h>
-#include <plat/sdhci.h>
+#include <linux/platform_data/pxa_sdhci.h>
 #include <linux/slab.h>
 #include "sdhci.h"
 #include "sdhci-pltfm.h"
index 901f00fb252b944def608aab6ddab93359c882e8..4198dbbc5c205f76c54e4b96c31a71901cf7f213 100644 (file)
@@ -24,7 +24,7 @@
 #include <linux/gpio.h>
 #include <linux/mmc/card.h>
 #include <linux/mmc/host.h>
-#include <plat/sdhci.h>
+#include <linux/platform_data/pxa_sdhci.h>
 #include <linux/slab.h>
 #include <linux/delay.h>
 #include "sdhci.h"
similarity index 92%
rename from arch/arm/plat-pxa/include/plat/sdhci.h
rename to include/linux/platform_data/pxa_sdhci.h
index 800ebc149fc13ed43b5ed2d112f227b431ee5f2e..51ad0995abac73eb741b0e793f91cd2cd2f06f36 100644 (file)
@@ -1,4 +1,5 @@
-/* linux/arch/arm/plat-pxa/include/plat/sdhci.h
+/*
+ * include/linux/platform_data/pxa_sdhci.h
  *
  * Copyright 2010 Marvell
  *     Zhangfei Gao <zhangfei.gao@marvell.com>
@@ -10,8 +11,8 @@
  * published by the Free Software Foundation.
  */
 
-#ifndef __PLAT_PXA_SDHCI_H
-#define __PLAT_PXA_SDHCI_H
+#ifndef _PXA_SDHCI_H_
+#define _PXA_SDHCI_H_
 
 /* pxa specific flag */
 /* Require clock free running */
@@ -56,5 +57,4 @@ struct sdhci_pxa {
        u8      clk_enable;
        u8      power_mode;
 };
-
-#endif /* __PLAT_PXA_SDHCI_H */
+#endif /* _PXA_SDHCI_H_ */