diff options
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 |
commit | 4f9a9b8ebae8425eda3a71ccb782789cd3b8f6b7 (patch) | |
tree | 5143ec75e22a2f648a9375632948ce09a16ee642 /src/flash/nand/core.h | |
parent | 8f93c0a3fe29313945a63b3f2154baef70acd796 (diff) |
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.h | 6 |
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; |