summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand/nand_s3c24xx.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mtd/nand/nand_s3c24xx.c')
-rw-r--r--drivers/mtd/nand/nand_s3c24xx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/nand_s3c24xx.c b/drivers/mtd/nand/nand_s3c24xx.c
index fef94328b1..c68c9fb161 100644
--- a/drivers/mtd/nand/nand_s3c24xx.c
+++ b/drivers/mtd/nand/nand_s3c24xx.c
@@ -483,7 +483,7 @@ static int s3c24x0_nand_probe(struct device_d *dev)
goto on_error;
}
- return add_mtd_device(mtd, "nand");
+ return add_mtd_nand_device(mtd, "nand");
on_error:
free(host);