From: Roman Tereshonkov Date: Tue, 23 Nov 2010 12:17:17 +0000 (+0200) Subject: mtd: fix master device identification for mtd repartition X-Git-Tag: v2.6.38-rc1~21^2~34 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a7e93dcd9aacb3ef4acfcc4310577f3ae0741821;p=pandora-kernel.git mtd: fix master device identification for mtd repartition Function mtd_has_master renamed as mtd_is_partition to follow the function logic. The patch fixes the problem of checking the right mtd device for partition creation. To delete partition checking is not needed here so as it is done in mtd_del_partition. By master we consider the mtd device which does not belong to any partition. Signed-off-by: Roman Tereshonkov Signed-off-by: Artem Bityutskiy Signed-off-by: David Woodhouse --- Reading git-diff-tree failed