Browse Source

mmc: sdhci-pxav3: Move private driver data to driver source

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>
Sebastian Hesselbarth 11 năm trước cách đây
mục cha
commit
cc9571e858
2 tập tin đã thay đổi với 5 bổ sung5 xóa
  1. 5 0
      drivers/mmc/host/sdhci-pxav3.c
  2. 0 5
      include/linux/platform_data/pxa_sdhci.h

+ 5 - 0
drivers/mmc/host/sdhci-pxav3.c

@@ -58,6 +58,11 @@
 #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.

+ 0 - 5
include/linux/platform_data/pxa_sdhci.h

@@ -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_ */