From: David Brownell Date: Wed, 4 Mar 2009 20:01:41 +0000 (-0800) Subject: [MTD] partitioning utility predicates X-Git-Tag: v2.6.30-rc1~143^2~43 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a4b6d516a6079c6ba8dc97d185371439035a35d0;p=pandora-kernel.git [MTD] partitioning utility predicates Move mtd_has_partitions() and mtd_has_cmdlinepart() inlines from a DaVinci-specific driver to the 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 Signed-off-by: Andrew Morton Signed-off-by: David Woodhouse --- Reading git-diff-tree failed