aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mtd')
-rw-r--r--drivers/mtd/nand/orion_nand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/orion_nand.c b/drivers/mtd/nand/orion_nand.c
index a6a4a20f6069..dd7fe817eafb 100644
--- a/drivers/mtd/nand/orion_nand.c
+++ b/drivers/mtd/nand/orion_nand.c
@@ -100,7 +100,7 @@ static int __init orion_nand_probe(struct platform_device *pdev)
100 100
101 io_base = ioremap(res->start, resource_size(res)); 101 io_base = ioremap(res->start, resource_size(res));
102 if (!io_base) { 102 if (!io_base) {
103 printk(KERN_ERR "orion_nand: ioremap failed\n"); 103 dev_err(&pdev->dev, "ioremap failed\n");
104 ret = -EIO; 104 ret = -EIO;
105 goto no_res; 105 goto no_res;
106 } 106 }