mx23: register clocks for mmc
authorPeter Korsgaard <jacmet@sunsite.dk>
Fri, 6 May 2011 10:05:35 +0000 (12:05 +0200)
committerSascha Hauer <s.hauer@pengutronix.de>
Thu, 19 May 2011 11:11:35 +0000 (13:11 +0200)
Commit 47babe69 (mxs: dynamically allocate mmc device) added the ssp
setup and mmc clocks for mx23/28, but forgot to register the mmc clocks
on mx23.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Acked-by: Shawn Guo <shawn.guo@freescale.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
arch/arm/mach-mxs/clock-mx23.c

index c3577ea789ac699afd8a04910448aeeec8090718..0163b6d83773fcf3d4e25ff9deaa8b16b6d662d3 100644 (file)
@@ -446,6 +446,8 @@ static struct clk_lookup lookups[] = {
        _REGISTER_CLOCK("rtc", NULL, rtc_clk)
        _REGISTER_CLOCK("mxs-dma-apbh", NULL, hbus_clk)
        _REGISTER_CLOCK("mxs-dma-apbx", NULL, xbus_clk)
+       _REGISTER_CLOCK("mxs-mmc.0", NULL, ssp_clk)
+       _REGISTER_CLOCK("mxs-mmc.1", NULL, ssp_clk)
        _REGISTER_CLOCK(NULL, "usb", usb_clk)
        _REGISTER_CLOCK(NULL, "audio", audio_clk)
        _REGISTER_CLOCK("mxs-pwm.0", NULL, pwm_clk)