]> git.karo-electronics.de Git - linux-beck.git/commitdiff
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 b55c807982feef68b47f9f0f775d5c726f569be7..48bc8179c8fc558b45c1e19e4036ff73311f5d83 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 27d3156d093ae4f05ac09da2ddf5b58c4292d8ec..9e20c2fb4ffd3852d056ca781300d9a23492af04 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_ */