linux-mtd.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] MTD: NAND: ndfc: fix compilation error
@ 2011-11-22  6:20 Tanmay Inamdar
  2011-11-22 21:43 ` Artem Bityutskiy
  0 siblings, 1 reply; 4+ messages in thread
From: Tanmay Inamdar @ 2011-11-22  6:20 UTC (permalink / raw)
  To: dwmw2; +Cc: linux-mtd, linux-kernel, Tanmay Inamdar

This patch fixes compilation error in ndfc flash driver
---
 drivers/mtd/nand/ndfc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/mtd/nand/ndfc.c b/drivers/mtd/nand/ndfc.c
index ee17139..f8aacf4 100644
--- a/drivers/mtd/nand/ndfc.c
+++ b/drivers/mtd/nand/ndfc.c
@@ -188,7 +188,7 @@ static int ndfc_chip_init(struct ndfc_controller *ndfc,
 	if (!flash_np)
 		return -ENODEV;
 
-	ppdata->of_node = flash_np;
+	ppdata.of_node = flash_np;
 	ndfc->mtd.name = kasprintf(GFP_KERNEL, "%s.%s",
 			dev_name(&ndfc->ofdev->dev), flash_np->name);
 	if (!ndfc->mtd.name) {
-- 
1.6.1.rc3

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

end of thread, other threads:[~2011-12-02  8:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-22  6:20 [PATCH 1/2] MTD: NAND: ndfc: fix compilation error Tanmay Inamdar
2011-11-22 21:43 ` Artem Bityutskiy
2011-12-01 23:54   ` Benjamin Herrenschmidt
2011-12-02  8:24     ` Artem Bityutskiy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).