aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/spi
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2012-08-03 11:26:09 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-08-17 17:52:51 -0400
commit829c1bf40b926a86e545733f6252262add3abe39 (patch)
tree8d94e9dc8ccc86a7f2cf9d1a72fae88efc9209c2 /include/linux/spi
parentf83b73806579c666fe6f1a4ed4800092c89e81db (diff)
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>
Diffstat (limited to 'include/linux/spi')
-rw-r--r--include/linux/spi/mxs-spi.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/spi/mxs-spi.h b/include/linux/spi/mxs-spi.h
index 7dfa1d7d1a78..475f69fb896f 100644
--- a/include/linux/spi/mxs-spi.h
+++ b/include/linux/spi/mxs-spi.h
@@ -128,4 +128,12 @@ enum mxs_ssp_id {
128 IMX28_SSP, 128 IMX28_SSP,
129}; 129};
130 130
131struct mxs_ssp {
132 struct device *dev;
133 void __iomem *base;
134 struct clk *clk;
135 unsigned int clk_rate;
136 enum mxs_ssp_id devid;
137};
138
131#endif /* __LINUX_SPI_MXS_SPI_H__ */ 139#endif /* __LINUX_SPI_MXS_SPI_H__ */