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>
This commit is contained in:
Родитель
668e84b20f
Коммит
cc9571e858
|
@ -58,6 +58,11 @@
|
||||||
#define SDCE_MISC_INT (1<<2)
|
#define SDCE_MISC_INT (1<<2)
|
||||||
#define SDCE_MISC_INT_EN (1<<1)
|
#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
|
* These registers are relative to the second register region, for the
|
||||||
* MBus bridge.
|
* MBus bridge.
|
||||||
|
|
|
@ -55,9 +55,4 @@ struct sdhci_pxa_platdata {
|
||||||
unsigned int quirks2;
|
unsigned int quirks2;
|
||||||
unsigned int pm_caps;
|
unsigned int pm_caps;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct sdhci_pxa {
|
|
||||||
u8 clk_enable;
|
|
||||||
u8 power_mode;
|
|
||||||
};
|
|
||||||
#endif /* _PXA_SDHCI_H_ */
|
#endif /* _PXA_SDHCI_H_ */
|
||||||
|
|
Загрузка…
Ссылка в новой задаче