summaryrefslogtreecommitdiff
path: root/fs/jffs2
diff options
context:
space:
mode:
authorDavid Brownell <dbrownell@users.sourceforge.net>2009-03-04 12:01:41 -0800
committerDavid Woodhouse <David.Woodhouse@intel.com>2009-03-20 13:16:44 +0000
commita4b6d516a6079c6ba8dc97d185371439035a35d0 (patch)
treeb53616a18b80d9d35a865ece4d4e3711c8dea074 /fs/jffs2
parent7ed8c7d440d497913a2218831a67b5897e0e86e1 (diff)
downloadlinux-3.10-a4b6d516a6079c6ba8dc97d185371439035a35d0.tar.gz
linux-3.10-a4b6d516a6079c6ba8dc97d185371439035a35d0.tar.bz2
linux-3.10-a4b6d516a6079c6ba8dc97d185371439035a35d0.zip
[MTD] partitioning utility predicates
Move mtd_has_partitions() and mtd_has_cmdlinepart() inlines from a DaVinci-specific driver to the <linux/mtd/partitions.h> header. Use those to eliminate #ifdefs in two drivers which had their own definitions of mtd_has_partitions(). Quite a lot of other MTD drivers could benefit from using use one or both of these to remove #ifdeffery. Maybe some Janitors would like to help. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'fs/jffs2')
0 files changed, 0 insertions, 0 deletions