Patchwork [1/2] MTD: NAND: ndfc: fix compilation error

login
register
mail settings
Submitter Tanmay Inamdar
Date Nov. 22, 2011, 6:20 a.m.
Message ID <1321942850-20012-1-git-send-email-tinamdar@apm.com>
Download mbox | patch
Permalink /patch/127008/
State New
Headers show

Comments

Tanmay Inamdar - Nov. 22, 2011, 6:20 a.m.
This patch fixes compilation error in ndfc flash driver
---
 drivers/mtd/nand/ndfc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Artem Bityutskiy - Nov. 22, 2011, 9:43 p.m.
On Tue, 2011-11-22 at 11:50 +0530, Tanmay Inamdar wrote:
> This patch fixes compilation error in ndfc flash driver
> ---
>  drivers/mtd/nand/ndfc.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)

Tony Breeds <tony@bakeyournoodle.com> sent a fix for this a bit earlier.

Artem.
Benjamin Herrenschmidt - Dec. 1, 2011, 11:54 p.m.
On Tue, 2011-11-22 at 23:43 +0200, Artem Bityutskiy wrote:
> On Tue, 2011-11-22 at 11:50 +0530, Tanmay Inamdar wrote:
> > This patch fixes compilation error in ndfc flash driver
> > ---
> >  drivers/mtd/nand/ndfc.c |    2 +-
> >  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> Tony Breeds <tony@bakeyournoodle.com> sent a fix for this a bit earlier.

Any reason this isn't in Linus tree yet ?

Ben.
Artem Bityutskiy - Dec. 2, 2011, 8:24 a.m.
On Fri, 2011-12-02 at 10:54 +1100, Benjamin Herrenschmidt wrote:
> On Tue, 2011-11-22 at 23:43 +0200, Artem Bityutskiy wrote:
> > On Tue, 2011-11-22 at 11:50 +0530, Tanmay Inamdar wrote:
> > > This patch fixes compilation error in ndfc flash driver
> > > ---
> > >  drivers/mtd/nand/ndfc.c |    2 +-
> > >  1 files changed, 1 insertions(+), 1 deletions(-)
> > 
> > Tony Breeds <tony@bakeyournoodle.com> sent a fix for this a bit earlier.
> 
> Any reason this isn't in Linus tree yet ?

Dunno, I've just re-pinged dwmw2.

Patch

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) {