[PATCH 2/2] MTD/NAND/S3C: re-add change due to API change

Juergen Beisert jbe at pengutronix.de
Tue Jan 3 03:55:34 EST 2012


Commit 88ce7ef769de0306dd3c3eac98d437a92bed2ce9 has changed the API and commit
b29b8f43d56b62e406349a5cf1ed56f17454c1f7 has moved the S3C24xx NAND driver
file. With the move the API change in the S3C24xx NAND driver was lost.

Signed-off-by: Juergen Beisert <jbe at pengutronix.de>
---
 drivers/mtd/nand/nand_s3c24xx.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/mtd/nand/nand_s3c24xx.c b/drivers/mtd/nand/nand_s3c24xx.c
index c4fd13e..e55aef0 100644
--- a/drivers/mtd/nand/nand_s3c24xx.c
+++ b/drivers/mtd/nand/nand_s3c24xx.c
@@ -485,7 +485,7 @@ static int s3c24x0_nand_probe(struct device_d *dev)
 		goto on_error;
 	}
 
-	return add_mtd_device(mtd);
+	return add_mtd_device(mtd, "nand");
 
 on_error:
 	free(host);
-- 
1.7.7.3




More information about the barebox mailing list