aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2013-11-12 14:07:23 -0500
committerBrian Norris <computersforpeace@gmail.com>2014-01-03 14:22:09 -0500
commitda6fcf0e3720b94197432510f3d455ed9243773f (patch)
tree5d412da41916e55167fd2e1a00e2dfa9daa63bb3
parent8ca14e12a75216060e5dfbfe28a5efc5c230e08c (diff)
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>
-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)
205 mtd->type = MTD_RAM; 205 mtd->type = MTD_RAM;
206 mtd->flags = MTD_CAP_RAM; 206 mtd->flags = MTD_CAP_RAM;
207 mtd->size = fixsize; 207 mtd->size = fixsize;
208 mtd->name = (char *)ms02nv_name; 208 mtd->name = ms02nv_name;
209 mtd->owner = THIS_MODULE; 209 mtd->owner = THIS_MODULE;
210 mtd->_read = ms02nv_read; 210 mtd->_read = ms02nv_read;
211 mtd->_write = ms02nv_write; 211 mtd->_write = ms02nv_write;