]> Pileus Git - ~andy/linux/blobdiff - drivers/mtd/nand/davinci_nand.c
Merge git://git.infradead.org/mtd-2.6
[~andy/linux] / drivers / mtd / nand / davinci_nand.c
index ba6940d1d3d11a8dbd9ba5d2660050e6e814b64b..0fad6487e6f4bcb062334ae082126d73ad41cd59 100644 (file)
@@ -626,16 +626,17 @@ static int __init nand_davinci_probe(struct platform_device *pdev)
        }
        info->chip.ecc.mode = ecc_mode;
 
-       info->clk = clk_get(&pdev->dev, "AEMIFCLK");
+       info->clk = clk_get(&pdev->dev, "aemif");
        if (IS_ERR(info->clk)) {
                ret = PTR_ERR(info->clk);
-               dev_dbg(&pdev->dev, "unable to get AEMIFCLK, err %d\n", ret);
+               dev_dbg(&pdev->dev, "unable to get AEMIF clock, err %d\n", ret);
                goto err_clk;
        }
 
        ret = clk_enable(info->clk);
        if (ret < 0) {
-               dev_dbg(&pdev->dev, "unable to enable AEMIFCLK, err %d\n", ret);
+               dev_dbg(&pdev->dev, "unable to enable AEMIF clock, err %d\n",
+                       ret);
                goto err_clk_enable;
        }