warnings: use more 'const' for char *

Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
This commit is contained in:
Øyvind Harboe
2010-12-29 22:07:21 +01:00
parent 8f93c0a3fe
commit 4f9a9b8eba
25 changed files with 30 additions and 30 deletions

View File

@@ -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;