mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATH] Some fixes after global changes
@ 2012-01-03  8:55 Juergen Beisert
  2012-01-03  8:55 ` [PATCH 1/2] MTD/NAND/DOC: add forgotten change due to API change Juergen Beisert
  2012-01-03  8:55 ` [PATCH 2/2] MTD/NAND/S3C: re-add " Juergen Beisert
  0 siblings, 2 replies; 3+ messages in thread
From: Juergen Beisert @ 2012-01-03  8:55 UTC (permalink / raw)
  To: barebox

Just to repair some compile time failures after global API changes and file
movements/renames.

In-Reply-To: 


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 1/2] MTD/NAND/DOC: add forgotten change due to API change
  2012-01-03  8:55 [PATH] Some fixes after global changes Juergen Beisert
@ 2012-01-03  8:55 ` Juergen Beisert
  2012-01-03  8:55 ` [PATCH 2/2] MTD/NAND/S3C: re-add " Juergen Beisert
  1 sibling, 0 replies; 3+ messages in thread
From: Juergen Beisert @ 2012-01-03  8:55 UTC (permalink / raw)
  To: barebox

Commit 88ce7ef769de0306dd3c3eac98d437a92bed2ce9 introduces an additional
parameter to the function add_mtd_device(). It seems one of the callers was
left.

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

diff --git a/drivers/mtd/nand/diskonchip.c b/drivers/mtd/nand/diskonchip.c
index 8323575..6da68dc 100644
--- a/drivers/mtd/nand/diskonchip.c
+++ b/drivers/mtd/nand/diskonchip.c
@@ -1418,7 +1418,7 @@ static int __init inftl_scan_bbt(struct mtd_info *mtd)
 	   do without it for non-INFTL use, since all it gives us is
 	   autopartitioning, but I want to give it more thought. */
 	if (!numparts) return -EIO;
-	add_mtd_device(mtd);
+	add_mtd_device(mtd, "nand");
 #ifdef CONFIG_MTD_PARTITIONS
 	if (!no_autopart)
 		add_mtd_partitions(mtd, parts, numparts);
-- 
1.7.7.3


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 2/2] MTD/NAND/S3C: re-add change due to API change
  2012-01-03  8:55 [PATH] Some fixes after global changes Juergen Beisert
  2012-01-03  8:55 ` [PATCH 1/2] MTD/NAND/DOC: add forgotten change due to API change Juergen Beisert
@ 2012-01-03  8:55 ` Juergen Beisert
  1 sibling, 0 replies; 3+ messages in thread
From: Juergen Beisert @ 2012-01-03  8:55 UTC (permalink / raw)
  To: barebox

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@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


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-01-03  8:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-03  8:55 [PATH] Some fixes after global changes Juergen Beisert
2012-01-03  8:55 ` [PATCH 1/2] MTD/NAND/DOC: add forgotten change due to API change Juergen Beisert
2012-01-03  8:55 ` [PATCH 2/2] MTD/NAND/S3C: re-add " Juergen Beisert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox