aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerhard Sittig <gsi@denx.de>2013-11-30 17:51:32 -0500
committerAnatolij Gustschin <agust@denx.de>2014-01-12 12:53:05 -0500
commit10de271f93d6d6d634ee4b74de50c073fbb7848b (patch)
tree4041b3f08bf5e66d0e6402d4b0f1cacb546036c6
parentd77276c432c4513e99a0ae9150e9110eeab63dc5 (diff)
mtd: mpc5121_nfc: adjust for OF based clock lookup
after device tree based clock lookup became available, the NAND flash driver need no longer use the previous global "nfc_clk" name, but should use the "ipg" clock name specific to the OF node Cc: David Woodhouse <dwmw2@infradead.org> Cc: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> Cc: linux-mtd@lists.infradead.org Signed-off-by: Gerhard Sittig <gsi@denx.de> Signed-off-by: Anatolij Gustschin <agust@denx.de>
-rw-r--r--drivers/mtd/nand/mpc5121_nfc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/mpc5121_nfc.c b/drivers/mtd/nand/mpc5121_nfc.c
index 439bc3896418..779e60d12f89 100644
--- a/drivers/mtd/nand/mpc5121_nfc.c
+++ b/drivers/mtd/nand/mpc5121_nfc.c
@@ -731,7 +731,7 @@ static int mpc5121_nfc_probe(struct platform_device *op)
731 of_node_put(rootnode); 731 of_node_put(rootnode);
732 732
733 /* Enable NFC clock */ 733 /* Enable NFC clock */
734 clk = devm_clk_get(dev, "nfc_clk"); 734 clk = devm_clk_get(dev, "ipg");
735 if (IS_ERR(clk)) { 735 if (IS_ERR(clk)) {
736 dev_err(dev, "Unable to acquire NFC clock!\n"); 736 dev_err(dev, "Unable to acquire NFC clock!\n");
737 retval = PTR_ERR(clk); 737 retval = PTR_ERR(clk);