summaryrefslogtreecommitdiff
path: root/drivers/mtd/devices/ms02-nv.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2013-11-12 23:07:23 +0400
committerBrian Norris <computersforpeace@gmail.com>2014-01-03 23:22:09 +0400
commitda6fcf0e3720b94197432510f3d455ed9243773f (patch)
tree5d412da41916e55167fd2e1a00e2dfa9daa63bb3 /drivers/mtd/devices/ms02-nv.c
parent8ca14e12a75216060e5dfbfe28a5efc5c230e08c (diff)
downloadlinux-da6fcf0e3720b94197432510f3d455ed9243773f.tar.xz
mtd: ms02-nv: remove superfluous name cast
mtd_info.name is "const char *" Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Cc: David Woodhouse <dwmw2@infradead.org> Cc: linux-mtd@lists.infradead.org Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'drivers/mtd/devices/ms02-nv.c')
-rw-r--r--drivers/mtd/devices/ms02-nv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/devices/ms02-nv.c b/drivers/mtd/devices/ms02-nv.c
index 182849d39c61..5c8b322ba904 100644
--- a/drivers/mtd/devices/ms02-nv.c
+++ b/drivers/mtd/devices/ms02-nv.c
@@ -205,7 +205,7 @@ static int __init ms02nv_init_one(ulong addr)
mtd->type = MTD_RAM;
mtd->flags = MTD_CAP_RAM;
mtd->size = fixsize;
- mtd->name = (char *)ms02nv_name;
+ mtd->name = ms02nv_name;
mtd->owner = THIS_MODULE;
mtd->_read = ms02nv_read;
mtd->_write = ms02nv_write;