Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Sebastian Hesselbarth and committed by
Ulf Hansson
cc9571e8 668e84b2

+5 -5
+5
drivers/mmc/host/sdhci-pxav3.c
··· 58 58 #define SDCE_MISC_INT (1<<2) 59 59 #define SDCE_MISC_INT_EN (1<<1) 60 60 61 + struct sdhci_pxa { 62 + u8 clk_enable; 63 + u8 power_mode; 64 + }; 65 + 61 66 /* 62 67 * These registers are relative to the second register region, for the 63 68 * MBus bridge.
-5
include/linux/platform_data/pxa_sdhci.h
··· 55 55 unsigned int quirks2; 56 56 unsigned int pm_caps; 57 57 }; 58 - 59 - struct sdhci_pxa { 60 - u8 clk_enable; 61 - u8 power_mode; 62 - }; 63 58 #endif /* _PXA_SDHCI_H_ */