diff options
Diffstat (limited to 'src/flash/nand')
-rw-r--r-- | src/flash/nand/core.h | 6 | ||||
-rw-r--r-- | src/flash/nand/driver.h | 2 |
2 files changed, 4 insertions, 4 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; diff --git a/src/flash/nand/driver.h b/src/flash/nand/driver.h index fe73e906..deb41b2a 100644 --- a/src/flash/nand/driver.h +++ b/src/flash/nand/driver.h @@ -35,7 +35,7 @@ struct nand_device; struct nand_flash_controller { /** Driver name that is used to select it from configuration files. */ - char *name; + const char *name; const struct command_registration *commands; |