Commit da6fcf0e authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Brian Norris

mtd: ms02-nv: remove superfluous name cast

mtd_info.name is "const char *"
Signed-off-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: linux-mtd@lists.infradead.org
Signed-off-by: default avatarBrian Norris <computersforpeace@gmail.com>
parent 8ca14e12
...@@ -205,7 +205,7 @@ static int __init ms02nv_init_one(ulong addr) ...@@ -205,7 +205,7 @@ static int __init ms02nv_init_one(ulong addr)
mtd->type = MTD_RAM; mtd->type = MTD_RAM;
mtd->flags = MTD_CAP_RAM; mtd->flags = MTD_CAP_RAM;
mtd->size = fixsize; mtd->size = fixsize;
mtd->name = (char *)ms02nv_name; mtd->name = ms02nv_name;
mtd->owner = THIS_MODULE; mtd->owner = THIS_MODULE;
mtd->_read = ms02nv_read; mtd->_read = ms02nv_read;
mtd->_write = ms02nv_write; mtd->_write = ms02nv_write;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment