mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
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:
parent
99ed1a1675
commit
0a8899b31a
2 changed files with 2 additions and 2 deletions
|
|
@ -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));
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue