mmc: sdhci-pxav3: Move private driver data to driver source
authorSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Tue, 21 Oct 2014 09:22:35 +0000 (11:22 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 10 Nov 2014 11:40:31 +0000 (12:40 +0100)
struct sdhci_pxa is only used in sdhci_pxa driver itself, so move it
there.

Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-pxav3.c
include/linux/platform_data/pxa_sdhci.h

index b55c807..48bc817 100644 (file)
 #define SDCE_MISC_INT          (1<<2)
 #define SDCE_MISC_INT_EN       (1<<1)
 
+struct sdhci_pxa {
+       u8      clk_enable;
+       u8      power_mode;
+};
+
 /*
  * These registers are relative to the second register region, for the
  * MBus bridge.
index 27d3156..9e20c2f 100644 (file)
@@ -55,9 +55,4 @@ struct sdhci_pxa_platdata {
        unsigned int    quirks2;
        unsigned int    pm_caps;
 };
-
-struct sdhci_pxa {
-       u8      clk_enable;
-       u8      power_mode;
-};
 #endif /* _PXA_SDHCI_H_ */