Skip to content

Commit

Permalink
mmc: sdhci-pxav3: Move private driver data to driver source
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Sebastian Hesselbarth authored and Ulf Hansson committed Nov 10, 2014
1 parent 668e84b commit cc9571e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
5 changes: 5 additions & 0 deletions drivers/mmc/host/sdhci-pxav3.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
5 changes: 0 additions & 5 deletions include/linux/platform_data/pxa_sdhci.h
Original file line number Diff line number Diff line change
Expand Up @@ -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_ */

0 comments on commit cc9571e

Please sign in to comment.