summaryrefslogtreecommitdiff
path: root/include/linux/spi
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2012-08-03 15:26:10 (GMT)
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-08-17 21:53:00 (GMT)
commit1308239858c33feeeb67003d08c754ee181f33cf (patch)
treebc74532d1085d85776c2dde1183996f5baeddcf9 /include/linux/spi
parent829c1bf40b926a86e545733f6252262add3abe39 (diff)
downloadlinux-fsl-qoriq-1308239858c33feeeb67003d08c754ee181f33cf.tar.xz
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 475f69f..d07f8dc 100644
--- a/include/linux/spi/mxs-spi.h
+++ b/include/linux/spi/mxs-spi.h
@@ -136,4 +136,6 @@ struct mxs_ssp {
enum mxs_ssp_id devid;
};
+void mxs_ssp_set_clk_rate(struct mxs_ssp *ssp, unsigned int rate);
+
#endif /* __LINUX_SPI_MXS_SPI_H__ */