projects
/
platform
/
upstream
/
kernel-adaptation-pc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
afffeec
)
mtd: mtdcore: use const qualifier
author
Artem Bityutskiy
<artem.bityutskiy@linux.intel.com>
Tue, 12 Mar 2013 08:51:35 +0000
(10:51 +0200)
committer
David Woodhouse
<David.Woodhouse@intel.com>
Fri, 5 Apr 2013 12:04:27 +0000
(13:04 +0100)
Be a bit stricter and add few more 'const' qualifiers.
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/mtdpart.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/mtdpart.c
b/drivers/mtd/mtdpart.c
index
9ee0911
..
3014933
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