mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 21:38:32 +08:00
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>
This commit is contained in:
parent
8ca14e12a7
commit
da6fcf0e37
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user