diff options
Diffstat (limited to 'drivers/mtd/devices/mtdram.c')
-rw-r--r-- | drivers/mtd/devices/mtdram.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/devices/mtdram.c b/drivers/mtd/devices/mtdram.c index ec59d65897fb..8e285089229c 100644 --- a/drivers/mtd/devices/mtdram.c +++ b/drivers/mtd/devices/mtdram.c | |||
@@ -92,7 +92,7 @@ static void __exit cleanup_mtdram(void) | |||
92 | } | 92 | } |
93 | 93 | ||
94 | int mtdram_init_device(struct mtd_info *mtd, void *mapped_address, | 94 | int mtdram_init_device(struct mtd_info *mtd, void *mapped_address, |
95 | unsigned long size, char *name) | 95 | unsigned long size, const char *name) |
96 | { | 96 | { |
97 | memset(mtd, 0, sizeof(*mtd)); | 97 | memset(mtd, 0, sizeof(*mtd)); |
98 | 98 | ||