aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap1/clock.c
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2009-01-19 20:53:30 +0000
committerRussell King <rmk+kernel@arm.linux.org.uk>2009-02-08 17:50:17 +0000
commit5c9e02b1abcb227f47529ad72cc4a3234cddae49 (patch)
treeac8323c3b31f77b008d42b1dd26980a47f32a09c /arch/arm/mach-omap1/clock.c
parent4c5e1946b5f89c33e3bc8ed73fa7ba8f31e37cc5 (diff)
downloadkernel_samsung_aries-5c9e02b1abcb227f47529ad72cc4a3234cddae49.zip
kernel_samsung_aries-5c9e02b1abcb227f47529ad72cc4a3234cddae49.tar.gz
kernel_samsung_aries-5c9e02b1abcb227f47529ad72cc4a3234cddae49.tar.bz2
[ARM] omap: MMC: convert clocks to match by devid and conid
Convert OMAP MMC driver to match clocks using the device ID and a connection ID rather than a clock name. This allows us to eliminate the OMAP1/OMAP2 differences for the function clock. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-omap1/clock.c')
-rw-r--r--arch/arm/mach-omap1/clock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-omap1/clock.c b/arch/arm/mach-omap1/clock.c
index 758abaa..3015e85 100644
--- a/arch/arm/mach-omap1/clock.c
+++ b/arch/arm/mach-omap1/clock.c
@@ -124,8 +124,8 @@ static struct omap_clk omap_clks[] = {
CLK(NULL, "mclk", &mclk_16xx, CK_16XX),
CLK(NULL, "bclk", &bclk_1510, CK_1510 | CK_310),
CLK(NULL, "bclk", &bclk_16xx, CK_16XX),
- CLK("mmci-omap.0", "mmc_ck", &mmc1_ck, CK_16XX | CK_1510 | CK_310),
- CLK("mmci-omap.1", "mmc_ck", &mmc2_ck, CK_16XX),
+ CLK("mmci-omap.0", "fck", &mmc1_ck, CK_16XX | CK_1510 | CK_310),
+ CLK("mmci-omap.1", "fck", &mmc2_ck, CK_16XX),
/* Virtual clocks */
CLK(NULL, "mpu", &virtual_ck_mpu, CK_16XX | CK_1510 | CK_310),
CLK("i2c_omap.1", "i2c_fck", &i2c_fck, CK_16XX | CK_1510 | CK_310),