mtd: FSMC NAND remove PARTITION macro and fix compile noise
authorLinus Walleij <linus.walleij@stericsson.com>
Mon, 29 Nov 2010 12:52:06 +0000 (13:52 +0100)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 3 Dec 2010 16:35:10 +0000 (16:35 +0000)
commit4ad916bca7c372110815e77c2db95fb2eb2f8ab3
tree4322fe7f4bfa4fd0ff42c249809637fad339a3bd
parent6b2995b62eba81df0f7d0b4be5b782be623c13eb
mtd: FSMC NAND remove PARTITION macro and fix compile noise

This removes the PARTITION macro that David didn't like and also
removes a local variable that was dangling unused in some #ifdefs
by being a bit more clever.

Signed-off-by: Linus Walleij <linus.walleij@stericsson.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/fsmc_nand.c