summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand/pasemi_nand.c
diff options
context:
space:
mode:
authorWolfgang Grandegger <wg@grandegger.com>2008-11-27 09:46:13 +0000
committerDavid Woodhouse <David.Woodhouse@intel.com>2008-11-27 09:46:13 +0000
commit29b65861fbece04cfdf3fee352d5247369131850 (patch)
tree8a2863d8fda9b7bd32005044844a98f635681c82 /drivers/mtd/nand/pasemi_nand.c
parent3136e903fa2d493ebc1b8a8fbdde2d3a17f85acd (diff)
downloadblackbird-op-linux-29b65861fbece04cfdf3fee352d5247369131850.tar.gz
blackbird-op-linux-29b65861fbece04cfdf3fee352d5247369131850.zip
[MTD] [NAND] fsl_upm: fix build problem with 2.6.28-rc2
The patch fixes following build error: CC drivers/mtd/nand/fsl_upm.o drivers/mtd/nand/fsl_upm.c: In function 'fun_chip_init': drivers/mtd/nand/fsl_upm.c:168: warning: passing argument 2 of 'of_mtd_parse_partitions' from incompatible pointer type drivers/mtd/nand/fsl_upm.c:168: warning: passing argument 3 of 'of_mtd_parse_partitions' from incompatible pointer type drivers/mtd/nand/fsl_upm.c:168: error: too many arguments to function 'of_mtd_parse_partitions' make[1]: *** [drivers/mtd/nand/fsl_upm.o] Error 1 The breakage was introduced in 69fd3a8d098faf41a04930afa83757c0555ee360 ("[MTD] remove unused mtd parameter in of_mtd_parse_partitions()"). While at it, also add a check for the of_mtd_parse_partitions() return value. Signed-off-by: Wolfgang Grandegger <wg@grandegger.com> Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/mtd/nand/pasemi_nand.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud