summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/onenand
diff options
context:
space:
mode:
authorFabio Estevam <festevam@gmail.com>2012-01-12 04:25:04 +0100
committerDavid Woodhouse <David.Woodhouse@intel.com>2012-03-27 01:11:16 +0200
commit335a5f409ee3960bda6b112b9d1a89d0a4e0a7eb (patch)
tree1446fea7345ae8178f3ee9732f88256cd768c06f /drivers/mtd/onenand
parentmtd: mtdblock: call mtd_sync() only if opened for write (diff)
downloadlinux-335a5f409ee3960bda6b112b9d1a89d0a4e0a7eb.tar.xz
linux-335a5f409ee3960bda6b112b9d1a89d0a4e0a7eb.zip
mtd: mtdcore: Fix build warning when CONFIG_MTD_CHAR is not defined
Fix the following build warning: drivers/mtd/mtdcore.c: In function ‘mtd_release’: drivers/mtd/mtdcore.c:110: warning: unused variable ‘mtd’ This happens when neither CONFIG_MTD_CHAR nor CONFIG_MTD_CHAR_MODULE are defined. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/mtd/onenand')
0 files changed, 0 insertions, 0 deletions