diff options
Diffstat (limited to 'env/dataflash.c')
-rw-r--r-- | env/dataflash.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/env/dataflash.c b/env/dataflash.c index 8ab482b3b4..9421a6a5b2 100644 --- a/env/dataflash.c +++ b/env/dataflash.c @@ -16,8 +16,6 @@ DECLARE_GLOBAL_DATA_PTR; env_t *env_ptr; -char *env_name_spec = "dataflash"; - static unsigned char env_dataflash_get_char(int index) { uchar c; @@ -70,6 +68,7 @@ static int env_dataflash_save(void) U_BOOT_ENV_LOCATION(dataflash) = { .location = ENVL_DATAFLASH, + ENV_NAME("dataflash") .get_char = env_dataflash_get_char, .load = env_dataflash_load, .save = env_save_ptr(env_dataflash_save), |