]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[ARM] omap: w1: convert omap HDQ clocks to match by devid and conid
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Thu, 22 Jan 2009 10:12:04 +0000 (10:12 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 8 Feb 2009 17:50:21 +0000 (17:50 +0000)
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-omap2/clock24xx.c
arch/arm/mach-omap2/clock34xx.c
drivers/w1/masters/omap_hdq.c

index 81c7b705114dab458368c5f4fbb468806360d65f..f83588002f69bbc233ee8434c53a2bec91206bd7 100644 (file)
@@ -184,8 +184,8 @@ static struct omap_clk omap24xx_clks[] = {
        CLK(NULL,       "fac_fck",      &fac_fck,       CK_243X | CK_242X),
        CLK(NULL,       "eac_ick",      &eac_ick,       CK_242X),
        CLK(NULL,       "eac_fck",      &eac_fck,       CK_242X),
-       CLK(NULL,       "hdq_ick",      &hdq_ick,       CK_243X | CK_242X),
-       CLK(NULL,       "hdq_fck",      &hdq_fck,       CK_243X | CK_242X),
+       CLK("omap_hdq.0", "ick",        &hdq_ick,       CK_243X | CK_242X),
+       CLK("omap_hdq.1", "fck",        &hdq_fck,       CK_243X | CK_242X),
        CLK("i2c_omap.1", "ick",        &i2c1_ick,      CK_243X | CK_242X),
        CLK("i2c_omap.1", "fck",        &i2c1_fck,      CK_242X),
        CLK("i2c_omap.1", "fck",        &i2chs1_fck,    CK_243X),
index 859ad1d4062a0f35775164a67f6e3c26a8b41081..1a4bc336c8a3bcb7b0dfb3573d5e6f333a9562d4 100644 (file)
@@ -155,7 +155,7 @@ static struct omap_clk omap34xx_clks[] = {
        CLK(NULL,       "uart1_fck",    &uart1_fck,     CK_343X),
        CLK(NULL,       "fshostusb_fck", &fshostusb_fck, CK_3430ES1),
        CLK(NULL,       "core_12m_fck", &core_12m_fck,  CK_343X),
-       CLK(NULL,       "hdq_fck",      &hdq_fck,       CK_343X),
+       CLK("omap_hdq.0", "fck",        &hdq_fck,       CK_343X),
        CLK(NULL,       "ssi_ssr_fck",  &ssi_ssr_fck,   CK_343X),
        CLK(NULL,       "ssi_sst_fck",  &ssi_sst_fck,   CK_343X),
        CLK(NULL,       "core_l3_ick",  &core_l3_ick,   CK_343X),
@@ -174,7 +174,7 @@ static struct omap_clk omap34xx_clks[] = {
        CLK("mmci-omap-hs.1",   "mmchs_ick",    &mmchs2_ick,    CK_343X),
        CLK("mmci-omap-hs.0",   "mmchs_ick",    &mmchs1_ick,    CK_343X),
        CLK(NULL,       "mspro_ick",    &mspro_ick,     CK_343X),
-       CLK(NULL,       "hdq_ick",      &hdq_ick,       CK_343X),
+       CLK("omap_hdq.0", "ick",        &hdq_ick,       CK_343X),
        CLK("omap2_mcspi.4", "ick",     &mcspi4_ick,    CK_343X),
        CLK("omap2_mcspi.3", "ick",     &mcspi3_ick,    CK_343X),
        CLK("omap2_mcspi.2", "ick",     &mcspi2_ick,    CK_343X),
index c973889110c888d5b0411b44af3c040a17aa7399..a7e3b706b9d31f0cce657c448de4bedf8d91bd48 100644 (file)
@@ -590,8 +590,8 @@ static int __init omap_hdq_probe(struct platform_device *pdev)
        }
 
        /* get interface & functional clock objects */
-       hdq_data->hdq_ick = clk_get(&pdev->dev, "hdq_ick");
-       hdq_data->hdq_fck = clk_get(&pdev->dev, "hdq_fck");
+       hdq_data->hdq_ick = clk_get(&pdev->dev, "ick");
+       hdq_data->hdq_fck = clk_get(&pdev->dev, "fck");
 
        if (IS_ERR(hdq_data->hdq_ick) || IS_ERR(hdq_data->hdq_fck)) {
                dev_dbg(&pdev->dev, "Can't get HDQ clock objects\n");