aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/spi
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2012-08-03 11:26:10 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-08-17 17:53:00 -0400
commit1308239858c33feeeb67003d08c754ee181f33cf (patch)
treebc74532d1085d85776c2dde1183996f5baeddcf9 /include/linux/spi
parent829c1bf40b926a86e545733f6252262add3abe39 (diff)
mmc: spi: Pull out the SSP clock configuration function
Pull out the MMC clock configuration function and make it into SSP clock configuration function, so it can be used by the SPI driver too. 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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/spi/mxs-spi.h b/include/linux/spi/mxs-spi.h
index 475f69fb896f..d07f8dc7fdd9 100644
--- a/include/linux/spi/mxs-spi.h
+++ b/include/linux/spi/mxs-spi.h
@@ -136,4 +136,6 @@ struct mxs_ssp {
136 enum mxs_ssp_id devid; 136 enum mxs_ssp_id devid;
137}; 137};
138 138
139void mxs_ssp_set_clk_rate(struct mxs_ssp *ssp, unsigned int rate);
140
139#endif /* __LINUX_SPI_MXS_SPI_H__ */ 141#endif /* __LINUX_SPI_MXS_SPI_H__ */