]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[ARM] omap: hsmmc: new short connection id names
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Wed, 28 Jan 2009 10:22:50 +0000 (10:22 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 8 Feb 2009 17:50:23 +0000 (17:50 +0000)
... rather than the clock names themselves.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-omap2/clock24xx.c
arch/arm/mach-omap2/clock34xx.c
arch/arm/mach-omap2/devices.c
drivers/mmc/host/omap_hsmmc.c

index d190b6a7493632883c94021a778d1e482a225aee..bd77ef2d5ae9a491c44e47731ebab1cf571443a2 100644 (file)
@@ -205,10 +205,10 @@ static struct omap_clk omap24xx_clks[] = {
        CLK(NULL,       "pka_ick",      &pka_ick,       CK_243X | CK_242X),
        CLK(NULL,       "usb_fck",      &usb_fck,       CK_243X | CK_242X),
        CLK(NULL,       "usbhs_ick",    &usbhs_ick,     CK_243X),
-       CLK("mmci-omap-hs.0", "mmchs_ick",      &mmchs1_ick,    CK_243X),
-       CLK("mmci-omap-hs.0", "mmchs_fck",      &mmchs1_fck,    CK_243X),
-       CLK("mmci-omap-hs.1", "mmchs_ick",      &mmchs2_ick,    CK_243X),
-       CLK("mmci-omap-hs.1", "mmchs_fck",      &mmchs2_fck,    CK_243X),
+       CLK("mmci-omap-hs.0", "ick",    &mmchs1_ick,    CK_243X),
+       CLK("mmci-omap-hs.0", "fck",    &mmchs1_fck,    CK_243X),
+       CLK("mmci-omap-hs.1", "ick",    &mmchs2_ick,    CK_243X),
+       CLK("mmci-omap-hs.1", "fck",    &mmchs2_fck,    CK_243X),
        CLK(NULL,       "gpio5_ick",    &gpio5_ick,     CK_243X),
        CLK(NULL,       "gpio5_fck",    &gpio5_fck,     CK_243X),
        CLK(NULL,       "mdm_intc_ick", &mdm_intc_ick,  CK_243X),
index 07e3308da650293f51cee4a2edfe6d1205d801a8..245a7b9b560c51bcd3f4d71112f971ea544dcaab 100644 (file)
@@ -137,10 +137,10 @@ static struct omap_clk omap34xx_clks[] = {
        CLK(NULL,       "ts_fck",       &ts_fck,        CK_3430ES2),
        CLK(NULL,       "usbtll_fck",   &usbtll_fck,    CK_3430ES2),
        CLK(NULL,       "core_96m_fck", &core_96m_fck,  CK_343X),
-       CLK("mmci-omap-hs.2",   "mmchs_fck",    &mmchs3_fck,    CK_3430ES2),
-       CLK("mmci-omap-hs.1",   "mmchs_fck",    &mmchs2_fck,    CK_343X),
+       CLK("mmci-omap-hs.2",   "fck",  &mmchs3_fck,    CK_3430ES2),
+       CLK("mmci-omap-hs.1",   "fck",  &mmchs2_fck,    CK_343X),
        CLK(NULL,       "mspro_fck",    &mspro_fck,     CK_343X),
-       CLK("mmci-omap-hs.0",   "mmchs_fck",    &mmchs1_fck,    CK_343X),
+       CLK("mmci-omap-hs.0",   "fck",  &mmchs1_fck,    CK_343X),
        CLK("i2c_omap.3", "fck",        &i2c3_fck,      CK_343X),
        CLK("i2c_omap.2", "fck",        &i2c2_fck,      CK_343X),
        CLK("i2c_omap.1", "fck",        &i2c1_fck,      CK_343X),
@@ -166,13 +166,13 @@ static struct omap_clk omap34xx_clks[] = {
        CLK(NULL,       "pka_ick",      &pka_ick,       CK_343X),
        CLK(NULL,       "core_l4_ick",  &core_l4_ick,   CK_343X),
        CLK(NULL,       "usbtll_ick",   &usbtll_ick,    CK_3430ES2),
-       CLK("mmci-omap-hs.2",   "mmchs_ick",    &mmchs3_ick,    CK_3430ES2),
+       CLK("mmci-omap-hs.2",   "ick",  &mmchs3_ick,    CK_3430ES2),
        CLK(NULL,       "icr_ick",      &icr_ick,       CK_343X),
        CLK(NULL,       "aes2_ick",     &aes2_ick,      CK_343X),
        CLK(NULL,       "sha12_ick",    &sha12_ick,     CK_343X),
        CLK(NULL,       "des2_ick",     &des2_ick,      CK_343X),
-       CLK("mmci-omap-hs.1",   "mmchs_ick",    &mmchs2_ick,    CK_343X),
-       CLK("mmci-omap-hs.0",   "mmchs_ick",    &mmchs1_ick,    CK_343X),
+       CLK("mmci-omap-hs.1",   "ick",  &mmchs2_ick,    CK_343X),
+       CLK("mmci-omap-hs.0",   "ick",  &mmchs1_ick,    CK_343X),
        CLK(NULL,       "mspro_ick",    &mspro_ick,     CK_343X),
        CLK("omap_hdq.0", "ick",        &hdq_ick,       CK_343X),
        CLK("omap2_mcspi.4", "ick",     &mcspi4_ick,    CK_343X),
index 973040441529a435303435c95052f8244cfcb0bf..8075f5868c38820383dbdbb7ab9daca344e4684a 100644 (file)
@@ -349,11 +349,11 @@ static void __init omap_hsmmc_reset(void)
 
                dummy_pdev.id = i;
                dev_set_name(&dummy_pdev.dev, "mmci-omap-hs.%d", i);
-               iclk = clk_get(dev, "mmchs_ick");
+               iclk = clk_get(dev, "ick");
                if (iclk && clk_enable(iclk))
                        iclk = NULL;
 
-               fclk = clk_get(dev, "mmchs_fck");
+               fclk = clk_get(dev, "fck");
                if (fclk && clk_enable(fclk))
                        fclk = NULL;
 
index db37490f67ec724d68732cd56054735d684a223e..65e0743dbdd9028b8322884bf662bc413cb02f3b 100644 (file)
@@ -920,13 +920,13 @@ static int __init omap_mmc_probe(struct platform_device *pdev)
 
        sema_init(&host->sem, 1);
 
-       host->iclk = clk_get(&pdev->dev, "mmchs_ick");
+       host->iclk = clk_get(&pdev->dev, "ick");
        if (IS_ERR(host->iclk)) {
                ret = PTR_ERR(host->iclk);
                host->iclk = NULL;
                goto err1;
        }
-       host->fclk = clk_get(&pdev->dev, "mmchs_fck");
+       host->fclk = clk_get(&pdev->dev, "fck");
        if (IS_ERR(host->fclk)) {
                ret = PTR_ERR(host->fclk);
                host->fclk = NULL;