alistair23-linux/drivers/mtd
Wolfgang Grandegger 29b65861fb [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 69fd3a8d09
("[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>
2008-11-27 09:46:13 +00:00
..
chips [MTD] [NOR] Fix cfi_send_gen_cmd handling of x16 devices in x8 mode (v4) 2008-11-05 14:40:25 +01:00
devices [MTD] m25p80: chip erase != block erase != sector erase 2008-11-26 10:24:27 +00:00
maps [MTD] physmap: fix memory leak on physmap_flash_remove by using devres 2008-11-26 10:26:29 +00:00
nand [MTD] [NAND] fsl_upm: fix build problem with 2.6.28-rc2 2008-11-27 09:46:13 +00:00
onenand [MTD] [NAND] OMAP: OneNAND: header file relocation (part 2) 2008-11-26 10:08:13 +00:00
ubi UBI: print reserved_peb when it is too large 2008-10-09 16:19:04 +03:00
afs.c
ar7part.c
cmdlinepart.c [MTD] cmdlineparts documentation change - explain where mtd-id comes from 2008-10-18 12:43:03 +01:00
ftl.c Support 'discard sectors' operation. 2008-10-09 08:56:01 +02:00
inftlcore.c [MTD] [INFTL] Fix infinite loop in INFTL_foldchain 2008-10-08 11:26:38 +01:00
inftlmount.c
Kconfig
Makefile
mtd_blkdevs.c Support 'discard sectors' operation in translation layer support core 2008-10-09 08:56:01 +02:00
mtdblock.c
mtdblock_ro.c
mtdchar.c Merge git://git.infradead.org/mtd-2.6 2008-10-20 09:03:12 -07:00
mtdconcat.c [MTD] Define and use MTD_FAIL_ADDR_UNKNOWN instead of 0xffffffff 2008-08-12 11:02:15 +01:00
mtdcore.c
mtdcore.h
mtdoops.c [MTD] mtdoops: Fix a bug where block may not be erased 2008-10-18 11:51:48 +01:00
mtdpart.c Merge git://git.infradead.org/mtd-2.6 2008-10-20 09:03:12 -07:00
mtdsuper.c
nftlcore.c
nftlmount.c
ofpart.c [MTD] remove unused mtd parameter in of_mtd_parse_partitions() 2008-10-13 15:01:42 +01:00
redboot.c
rfd_ftl.c
ssfdc.c