linux/drivers/mtd/nand
Fabio Estevam 2ebf0622cd mtd: mxc_nand: Fix warning on nr_parts unused variable
If CONFIG_MTD_PARTITIONS is not selected, then the following warning is generated:

  CC      drivers/mtd/nand/mxc_nand.o
drivers/mtd/nand/mxc_nand.c: In function 'mxcnd_probe':
drivers/mtd/nand/mxc_nand.c:1014: warning: unused variable 'nr_parts'

Fix it by marking nr_parts as __maybe_unused.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2010-12-03 16:34:41 +00:00
..
alauda.c
ams-delta.c
atmel_nand_ecc.h
atmel_nand.c mtd: atmel_nand: fix warning: 'part_probes' defined but not used 2010-08-06 09:22:22 +01:00
au1550nd.c
autcpu12.c
bcm_umi_bch.c
bcm_umi_nand.c
bf5xx_nand.c mtd: Blackfin NFC: fix badblock location with BootROM OOB 2010-10-25 01:15:22 +01:00
cafe_nand.c Update broken web addresses in the kernel. 2010-10-18 11:03:14 +02:00
cmx270_nand.c
cs553x_nand.c
davinci_nand.c Merge git://git.infradead.org/mtd-2.6 2010-10-30 08:31:35 -07:00
denali.c mtd: nand: denali should also handle NAND_CMD_PARAM 2010-10-24 23:45:05 +01:00
denali.h nand/denali: use dev_xx debug function to replace nand_dbg_print and some printk 2010-08-11 00:28:40 +01:00
diskonchip.c mtd: Remove obsolete <mtd/compatmac.h> include 2010-08-08 21:19:42 +01:00
edb7312.c
fsl_elbc_nand.c mtd: fsl_elbc_nand: fix jffs2 problem after NAND-flash image record in u-boot 2010-12-03 16:34:24 +00:00
fsl_upm.c mtd: Fix endianness issues from device tree 2010-10-25 00:55:56 +01:00
fsmc_nand.c mtd: generic FSMC NAND MTD driver 2010-10-25 00:33:48 +01:00
gpio.c
h1910.c
jz4740_nand.c mtd: NAND: jz4740: Remove custom {read,write}_page handlers 2010-12-03 16:29:45 +00:00
Kconfig P4080/eLBC: Make Freescale elbc interrupt common to elbc devices 2010-10-25 15:40:54 +01:00
Makefile mtd: generic FSMC NAND MTD driver 2010-10-25 00:33:48 +01:00
mpc5121_nfc.c mtd: Fix endianness issues from device tree 2010-10-25 00:55:56 +01:00
mxc_nand.c mtd: mxc_nand: Fix warning on nr_parts unused variable 2010-12-03 16:34:41 +00:00
nand_base.c mtd: nand: add check for out of page read 2010-12-03 16:31:44 +00:00
nand_bbt.c mtd: fix nand kernel-doc warnings 2010-12-03 16:31:24 +00:00
nand_bcm_umi.c
nand_bcm_umi.h
nand_ecc.c
nand_ids.c mtd: nand: support new Toshiba SLC 2010-10-24 23:38:30 +01:00
nandsim.c mtd: use vzalloc 2010-12-03 16:27:29 +00:00
ndfc.c mtd: Fix endianness issues from device tree 2010-10-25 00:55:56 +01:00
nomadik_nand.c
nuc900_nand.c
omap2.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git 2010-10-30 12:35:11 +01:00
orion_nand.c
pasemi_nand.c mtd: nand: Use printf extension %pR for struct resource 2010-12-03 16:29:56 +00:00
plat_nand.c gen_nand: Test if nr_chips field is valid 2010-08-12 12:17:36 +01:00
ppchameleonevb.c
pxa3xx_nand.c mtd: pxa3xx_nand: set oob length in the runtime 2010-10-24 23:39:41 +01:00
r852.c mtd: r852: remove useless pci powerup/down from suspend/resume routines 2010-10-25 01:32:21 +01:00
r852.h mtd: r852: remove useless pci powerup/down from suspend/resume routines 2010-10-25 01:32:21 +01:00
rtc_from4.c mtd: Remove obsolete <mtd/compatmac.h> include 2010-08-08 21:19:42 +01:00
s3c2410.c
sh_flctl.c
sharpsl.c
sm_common.c
sm_common.h
socrates_nand.c of/device: Replace struct of_device with struct platform_device 2010-08-06 09:25:50 -06:00
spia.c
tmio_nand.c
txx9ndfmc.c