mmc: spi: Pull out parts shared between MMC and SPI
Abstract out the common part of private data shared between MMC and SPI. These shall later allow to use common clock configuration function. Signed-off-by: Marek Vasut <marex@denx.de> Acked-by: Chris Ball <cjb@laptop.org> Acked-by: Shawn Guo <shawn.guo@linaro.org> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
This commit is contained in:
@@ -128,4 +128,12 @@ enum mxs_ssp_id {
|
||||
IMX28_SSP,
|
||||
};
|
||||
|
||||
struct mxs_ssp {
|
||||
struct device *dev;
|
||||
void __iomem *base;
|
||||
struct clk *clk;
|
||||
unsigned int clk_rate;
|
||||
enum mxs_ssp_id devid;
|
||||
};
|
||||
|
||||
#endif /* __LINUX_SPI_MXS_SPI_H__ */
|
||||
|
Reference in New Issue
Block a user