aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2009-10-21 10:06:27 -0400
committerSascha Hauer <s.hauer@pengutronix.de>2009-11-12 02:33:45 -0500
commit1fbff0a6e975a986032881f139b806c23680f823 (patch)
treebc0d3a1b123c61fc8cc8f76c469bd692674b9f5a /drivers/mtd
parentc110eaf4659efcb110de2d7c90878240be5a13fa (diff)
mxc_nand: use DRIVER_NAME where appropriate
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/mtd')
-rw-r--r--drivers/mtd/nand/mxc_nand.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mtd/nand/mxc_nand.c b/drivers/mtd/nand/mxc_nand.c
index 30eeb4c65528..53e94121c26f 100644
--- a/drivers/mtd/nand/mxc_nand.c
+++ b/drivers/mtd/nand/mxc_nand.c
@@ -698,7 +698,7 @@ static int __init mxcnd_probe(struct platform_device *pdev)
698 mtd->priv = this; 698 mtd->priv = this;
699 mtd->owner = THIS_MODULE; 699 mtd->owner = THIS_MODULE;
700 mtd->dev.parent = &pdev->dev; 700 mtd->dev.parent = &pdev->dev;
701 mtd->name = "mxc_nand"; 701 mtd->name = DRIVER_NAME;
702 702
703 /* 50 us command delay time */ 703 /* 50 us command delay time */
704 this->chip_delay = 5; 704 this->chip_delay = 5;
@@ -762,7 +762,7 @@ static int __init mxcnd_probe(struct platform_device *pdev)
762 762
763 host->irq = platform_get_irq(pdev, 0); 763 host->irq = platform_get_irq(pdev, 0);
764 764
765 err = request_irq(host->irq, mxc_nfc_irq, 0, "mxc_nd", host); 765 err = request_irq(host->irq, mxc_nfc_irq, 0, DRIVER_NAME, host);
766 if (err) 766 if (err)
767 goto eirq; 767 goto eirq;
768 768