[ARM] omap: convert omap RNG clocks to match by devid and conid
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Mon, 19 Jan 2009 20:58:56 +0000 (20:58 +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/char/hw_random/omap-rng.c

index f83588002f69bbc233ee8434c53a2bec91206bd7..1e9ac83dca5e5449448ca749519faa62804397a6 100644 (file)
@@ -200,7 +200,7 @@ static struct omap_clk omap24xx_clks[] = {
        CLK(NULL,       "sdrc_ick",     &sdrc_ick,      CK_243X),
        CLK(NULL,       "des_ick",      &des_ick,       CK_243X | CK_242X),
        CLK(NULL,       "sha_ick",      &sha_ick,       CK_243X | CK_242X),
-       CLK(NULL,       "rng_ick",      &rng_ick,       CK_243X | CK_242X),
+       CLK("omap_rng", "ick",          &rng_ick,       CK_243X | CK_242X),
        CLK(NULL,       "aes_ick",      &aes_ick,       CK_243X | CK_242X),
        CLK(NULL,       "pka_ick",      &pka_ick,       CK_243X | CK_242X),
        CLK(NULL,       "usb_fck",      &usb_fck,       CK_243X | CK_242X),
index 1a4bc336c8a3bcb7b0dfb3573d5e6f333a9562d4..07e3308da650293f51cee4a2edfe6d1205d801a8 100644 (file)
@@ -196,7 +196,7 @@ static struct omap_clk omap34xx_clks[] = {
        CLK(NULL,       "usb_l4_ick",   &usb_l4_ick,    CK_3430ES1),
        CLK(NULL,       "security_l4_ick2", &security_l4_ick2, CK_343X),
        CLK(NULL,       "aes1_ick",     &aes1_ick,      CK_343X),
-       CLK(NULL,       "rng_ick",      &rng_ick,       CK_343X),
+       CLK("omap_rng", "ick",          &rng_ick,       CK_343X),
        CLK(NULL,       "sha11_ick",    &sha11_ick,     CK_343X),
        CLK(NULL,       "des1_ick",     &des1_ick,      CK_343X),
        CLK(NULL,       "dss1_alwon_fck", &dss1_alwon_fck, CK_343X),
index ba68a4671cb548d7663f7f2d1920df1332bd192a..538313f9e7ac6f8b45731b6ee49be2e8af0e0f8a 100644 (file)
@@ -102,7 +102,7 @@ static int __init omap_rng_probe(struct platform_device *pdev)
                return -EBUSY;
 
        if (cpu_is_omap24xx()) {
-               rng_ick = clk_get(&pdev->dev, "rng_ick");
+               rng_ick = clk_get(&pdev->dev, "ick");
                if (IS_ERR(rng_ick)) {
                        dev_err(&pdev->dev, "Could not get rng_ick\n");
                        ret = PTR_ERR(rng_ick);