summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx/clock-imx1.c
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2010-09-09 21:02:02 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2010-10-01 09:32:14 +0200
commitab5605037c119f1bde0f01786ede16d0ea5dcd8a (patch)
treeaa322bc687a516657ac806eddd768b2e12b6cbef /arch/arm/mach-imx/clock-imx1.c
parent0b599603d8534bc3946a0f07e461c76d7947dfcf (diff)
downloadblackbird-op-linux-ab5605037c119f1bde0f01786ede16d0ea5dcd8a.tar.gz
blackbird-op-linux-ab5605037c119f1bde0f01786ede16d0ea5dcd8a.zip
ARM: imx: use platform ids for spi_imx devices
The driver recently learned to handle platform ids. Make use of this new feature. The up side is that the driver needs less knowledge about the spi interfaces used on different SoCs. Acked-by: Jason Wang <jason77.wang@gmail.com> Acked-by: Grant Likely <grant.likely@secretlab.ca> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-imx/clock-imx1.c')
-rw-r--r--arch/arm/mach-imx/clock-imx1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-imx/clock-imx1.c b/arch/arm/mach-imx/clock-imx1.c
index c05096c38301..daca30b2d5b1 100644
--- a/arch/arm/mach-imx/clock-imx1.c
+++ b/arch/arm/mach-imx/clock-imx1.c
@@ -592,7 +592,7 @@ static struct clk_lookup lookups[] __initdata = {
_REGISTER_CLOCK("imx-uart.1", NULL, uart_clk)
_REGISTER_CLOCK("imx-uart.2", NULL, uart_clk)
_REGISTER_CLOCK("imx-i2c.0", NULL, i2c_clk)
- _REGISTER_CLOCK("spi_imx.0", NULL, spi_clk)
+ _REGISTER_CLOCK("imx1-cspi.0", NULL, spi_clk)
_REGISTER_CLOCK("imx-mmc.0", NULL, sdhc_clk)
_REGISTER_CLOCK("imx-fb.0", NULL, lcdc_clk)
_REGISTER_CLOCK(NULL, "mshc", mshc_clk)
OpenPOWER on IntegriCloud