summaryrefslogtreecommitdiff
path: root/include/linux/mtd
diff options
context:
space:
mode:
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2013-03-12 10:32:52 +0200
committerDavid Woodhouse <David.Woodhouse@intel.com>2013-04-05 13:02:40 +0100
commitf39cf6c7d472349a9907955ef213db1f26618ba0 (patch)
treea0dc81dc96abaf090e2dc92c4970614fd478168c /include/linux/mtd
parentd50dcb1d0e1f8ebe11db1719aad5753cd1b4c4f8 (diff)
downloadlwn-f39cf6c7d472349a9907955ef213db1f26618ba0.tar.gz
lwn-f39cf6c7d472349a9907955ef213db1f26618ba0.zip
mtd: physmap: add const qualifiers
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>
Diffstat (limited to 'include/linux/mtd')
-rw-r--r--include/linux/mtd/physmap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mtd/physmap.h b/include/linux/mtd/physmap.h
index d2887e76b7f6..aa6a2633c2da 100644
--- a/include/linux/mtd/physmap.h
+++ b/include/linux/mtd/physmap.h
@@ -30,7 +30,7 @@ struct physmap_flash_data {
unsigned int pfow_base;
char *probe_type;
struct mtd_partition *parts;
- const char **part_probe_types;
+ const char * const *part_probe_types;
};
#endif /* __LINUX_MTD_PHYSMAP__ */