summaryrefslogtreecommitdiff
path: root/src/flash/nand/core.h
diff options
context:
space:
mode:
authorØyvind Harboe <oyvind.harboe@zylin.com>2010-12-29 22:07:21 +0100
committerØyvind Harboe <oyvind.harboe@zylin.com>2010-12-29 22:07:39 +0100
commit4f9a9b8ebae8425eda3a71ccb782789cd3b8f6b7 (patch)
tree5143ec75e22a2f648a9375632948ce09a16ee642 /src/flash/nand/core.h
parent8f93c0a3fe29313945a63b3f2154baef70acd796 (diff)
downloadopenocd_libswd-4f9a9b8ebae8425eda3a71ccb782789cd3b8f6b7.tar.gz
openocd_libswd-4f9a9b8ebae8425eda3a71ccb782789cd3b8f6b7.tar.bz2
openocd_libswd-4f9a9b8ebae8425eda3a71ccb782789cd3b8f6b7.tar.xz
openocd_libswd-4f9a9b8ebae8425eda3a71ccb782789cd3b8f6b7.zip
warnings: use more 'const' for char *
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Diffstat (limited to 'src/flash/nand/core.h')
-rw-r--r--src/flash/nand/core.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/flash/nand/core.h b/src/flash/nand/core.h
index a8e7466a..709c37b3 100644
--- a/src/flash/nand/core.h
+++ b/src/flash/nand/core.h
@@ -59,7 +59,7 @@ struct nand_ecclayout {
struct nand_device
{
- char *name;
+ const char *name;
struct nand_flash_controller *controller;
void *controller_priv;
struct nand_manufacturer *manufacturer;
@@ -91,12 +91,12 @@ enum
struct nand_manufacturer
{
int id;
- char *name;
+ const char *name;
};
struct nand_info
{
- char *name;
+ const char *name;
int id;
int page_size;
int chip_size;