mtd: nand: fix for drop unnecessary partition parser data
authorStephen Rothwell <sfr@canb.auug.org.au>
Mon, 4 Jan 2016 18:32:54 +0000 (10:32 -0800)
committerBrian Norris <computersforpeace@gmail.com>
Tue, 5 Jan 2016 23:57:59 +0000 (15:57 -0800)
commit887e9d3a1f3e93a1c64294649c0dd301035a7892
tree3ff03d2cba051ab74a5afa5299519a4509973df2
parent1873315fb156cbc8e46f28e8b128f17ff6c31728
mtd: nand: fix for drop unnecessary partition parser data

From Stephen:

    Hi Brian,

    After merging the l2-mtd tree, today's linux-next build (powerpc
    ppc44x_defconfig) failed like this:

    drivers/mtd/nand/ndfc.c: In function 'ndfc_chip_init':
    drivers/mtd/nand/ndfc.c:177:2: error: 'ppdata' undeclared (first use in this function)
      ppdata.of_node = flash_np;
      ^

    Caused by commit

      a61ae81a1907 ("mtd: nand: drop unnecessary partition parser data")

The flash node is already correctly assigned using the new helper
(nand_set_flash_node()) so the correct fix is indeed to simply drop this
line.

Fixes: a61ae81a1907 ("mtd: nand: drop unnecessary partition parser data")
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/nand/ndfc.c