diff options
author | Marek Vasut <marex@denx.de> | 2012-08-03 17:26:10 +0200 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-08-17 22:53:00 +0100 |
commit | 1308239858c33feeeb67003d08c754ee181f33cf (patch) | |
tree | bc74532d1085d85776c2dde1183996f5baeddcf9 /include/linux/spi | |
parent | 829c1bf40b926a86e545733f6252262add3abe39 (diff) | |
download | blackbird-op-linux-1308239858c33feeeb67003d08c754ee181f33cf.tar.gz blackbird-op-linux-1308239858c33feeeb67003d08c754ee181f33cf.zip |
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.h | 2 |
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 { enum mxs_ssp_id devid; }; +void mxs_ssp_set_clk_rate(struct mxs_ssp *ssp, unsigned int rate); + #endif /* __LINUX_SPI_MXS_SPI_H__ */ |