mtd: mtdram: add missing 'const'

mtdram_init_device() wasn't updated along with mtd_partition.name.

Signed-off-by: Brian Norris <[email protected]>
Cc: Geert Uytterhoeven <[email protected]>
This commit is contained in:
Brian Norris committed 2014-01-20 11:55:23 -08:00
1 parent 99ed1a1675
commit 0a8899b31a
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -92,7 +92,7 @@ static void __exit cleanup_mtdram(void)
}
int mtdram_init_device(struct mtd_info *mtd, void *mapped_address,
unsigned long size, char *name)
unsigned long size, const char *name)
{
memset(mtd, 0, sizeof(*mtd));
+1 -1
View File
@@ -3,6 +3,6 @@
#include <linux/mtd/mtd.h>
int mtdram_init_device(struct mtd_info *mtd, void *mapped_address,
unsigned long size, char *name);
unsigned long size, const char *name);
#endif /* __MTD_MTDRAM_H__ */