diff options
author | Brian Norris <computersforpeace@gmail.com> | 2014-01-12 03:51:45 +0400 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2014-01-20 23:55:23 +0400 |
commit | 0a8899b31a7d6c4a3bc7fdbd7c8c1fc79e726363 (patch) | |
tree | 44979142f7fa2f57565b22d6ccfc41ae35e786c7 /include/linux/mtd | |
parent | 99ed1a167578f85963a0cdf5fd7b2291eaecc400 (diff) | |
download | linux-0a8899b31a7d6c4a3bc7fdbd7c8c1fc79e726363.tar.xz |
mtd: mtdram: add missing 'const'
mtdram_init_device() wasn't updated along with mtd_partition.name.
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'include/linux/mtd')
-rw-r--r-- | include/linux/mtd/mtdram.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mtd/mtdram.h b/include/linux/mtd/mtdram.h index 68891313875d..628a6a21ddf0 100644 --- a/include/linux/mtd/mtdram.h +++ b/include/linux/mtd/mtdram.h @@ -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__ */ |