aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/mtd/nand/sharpsl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/sharpsl.c b/drivers/mtd/nand/sharpsl.c
index 61a85abfdc41..e81059b58382 100644
--- a/drivers/mtd/nand/sharpsl.c
+++ b/drivers/mtd/nand/sharpsl.c
@@ -134,7 +134,7 @@ static int sharpsl_nand_probe(struct platform_device *pdev)
134 /* map physical address */ 134 /* map physical address */
135 sharpsl->io = ioremap(r->start, resource_size(r)); 135 sharpsl->io = ioremap(r->start, resource_size(r));
136 if (!sharpsl->io) { 136 if (!sharpsl->io) {
137 printk("ioremap to access Sharp SL NAND chip failed\n"); 137 dev_err(&pdev->dev, "ioremap to access Sharp SL NAND chip failed\n");
138 err = -EIO; 138 err = -EIO;
139 goto err_ioremap; 139 goto err_ioremap;
140 } 140 }