projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mtd: mtdcore: use const qualifier
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
mtd
/
mtdpart.c
diff --git
a/drivers/mtd/mtdpart.c
b/drivers/mtd/mtdpart.c
index 9ee0911025c88f533b1c743f55236980ed44a9ea..301493382cd0a27a0df3fe0b5285fdb6a8cbb5f0 100644
(file)
--- a/
drivers/mtd/mtdpart.c
+++ b/
drivers/mtd/mtdpart.c
@@
-694,7
+694,7
@@
EXPORT_SYMBOL_GPL(deregister_mtd_parser);
* Do not forget to update 'parse_mtd_partitions()' kerneldoc comment if you
* are changing this array!
*/
-static const char *default_mtd_part_types[] = {
+static const char *
const
default_mtd_part_types[] = {
"cmdlinepart",
"ofpart",
NULL