mtd: mark mtd_is_partition argument as constant
authorRichard Genoud <richard.genoud@gmail.com>
Tue, 10 Jul 2012 16:23:39 +0000 (18:23 +0200)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Tue, 4 Sep 2012 06:38:58 +0000 (09:38 +0300)
commit5dee4674c8dd4398f4806aae153888319c7e2be9
tree0fbbd9a5e3ee970d8e6444b9aa2527360ad5052e
parent3419cc303f643e3445be954e5590cc0e71c5c461
mtd: mark mtd_is_partition argument as constant

'struct mtd_info' is not modified by 'mtd_is_partition()' so it can be marked
as "const".

Signed-off-by: Richard Genoud <richard.genoud@gmail.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
drivers/mtd/mtdpart.c
include/linux/mtd/partitions.h