mtd: make mtd_partition.name const
authorGeert Uytterhoeven <geert@linux-m68k.org>
Tue, 12 Nov 2013 19:11:26 +0000 (20:11 +0100)
committerBrian Norris <computersforpeace@gmail.com>
Fri, 3 Jan 2014 19:22:09 +0000 (11:22 -0800)
commit26a6d240e2a1480a33d76ac4db8855b6a7f2bd89
tree9005e3ba09c83ad7be1d32ce840a558cce14f3fb
parentda6fcf0e3720b94197432510f3d455ed9243773f
mtd: make mtd_partition.name const

This allows to drop a few casts.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/mtdpart.c
drivers/mtd/ofpart.c
include/linux/mtd/partitions.h