aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mtd/nand')
-rw-r--r--drivers/mtd/nand/Kconfig4
-rw-r--r--drivers/mtd/nand/davinci_nand.c7
2 files changed, 6 insertions, 5 deletions
diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig
index 1823212c6b46..ce96c091f01b 100644
--- a/drivers/mtd/nand/Kconfig
+++ b/drivers/mtd/nand/Kconfig
@@ -266,7 +266,7 @@ config MTD_NAND_BASLER_EXCITE
266 help 266 help
267 This enables the driver for the NAND flash device found on the 267 This enables the driver for the NAND flash device found on the
268 Basler eXcite Smart Camera. If built as a module, the driver 268 Basler eXcite Smart Camera. If built as a module, the driver
269 will be named "excite_nandflash.ko". 269 will be named excite_nandflash.
270 270
271config MTD_NAND_CAFE 271config MTD_NAND_CAFE
272 tristate "NAND support for OLPC CAFÉ chip" 272 tristate "NAND support for OLPC CAFÉ chip"
@@ -288,7 +288,7 @@ config MTD_NAND_CS553X
288 controller is enabled for NAND, and currently requires that 288 controller is enabled for NAND, and currently requires that
289 the controller be in MMIO mode. 289 the controller be in MMIO mode.
290 290
291 If you say "m", the module will be called "cs553x_nand.ko". 291 If you say "m", the module will be called cs553x_nand.
292 292
293config MTD_NAND_ATMEL 293config MTD_NAND_ATMEL
294 tristate "Support for NAND Flash / SmartMedia on AT91 and AVR32" 294 tristate "Support for NAND Flash / SmartMedia on AT91 and AVR32"
diff --git a/drivers/mtd/nand/davinci_nand.c b/drivers/mtd/nand/davinci_nand.c
index ba6940d1d3d1..0fad6487e6f4 100644
--- a/drivers/mtd/nand/davinci_nand.c
+++ b/drivers/mtd/nand/davinci_nand.c
@@ -626,16 +626,17 @@ static int __init nand_davinci_probe(struct platform_device *pdev)
626 } 626 }
627 info->chip.ecc.mode = ecc_mode; 627 info->chip.ecc.mode = ecc_mode;
628 628
629 info->clk = clk_get(&pdev->dev, "AEMIFCLK"); 629 info->clk = clk_get(&pdev->dev, "aemif");
630 if (IS_ERR(info->clk)) { 630 if (IS_ERR(info->clk)) {
631 ret = PTR_ERR(info->clk); 631 ret = PTR_ERR(info->clk);
632 dev_dbg(&pdev->dev, "unable to get AEMIFCLK, err %d\n", ret); 632 dev_dbg(&pdev->dev, "unable to get AEMIF clock, err %d\n", ret);
633 goto err_clk; 633 goto err_clk;
634 } 634 }
635 635
636 ret = clk_enable(info->clk); 636 ret = clk_enable(info->clk);
637 if (ret < 0) { 637 if (ret < 0) {
638 dev_dbg(&pdev->dev, "unable to enable AEMIFCLK, err %d\n", ret); 638 dev_dbg(&pdev->dev, "unable to enable AEMIF clock, err %d\n",
639 ret);
639 goto err_clk_enable; 640 goto err_clk_enable;
640 } 641 }
641 642