diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2017-06-13 16:04:40 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2017-06-13 16:04:40 +0200 |
commit | b2cb923506b6532ecd06a48e57757d24ccf4940b (patch) | |
tree | 9a8c76f8c65b9086f58ea1d43d84fa9e093d9a3c /drivers/mtd/peb.c | |
parent | 7917ad2b03127f29b463b4d72dc063491ee41a87 (diff) | |
download | barebox-b2cb923506b6532ecd06a48e57757d24ccf4940b.tar.gz barebox-b2cb923506b6532ecd06a48e57757d24ccf4940b.tar.xz |
Revert "globalvar: make globalvar functions more consistent"
This reverts commit 1b4a05c9263ae26083526acfabdea1ef96531a1d.
Diffstat (limited to 'drivers/mtd/peb.c')
-rw-r--r-- | drivers/mtd/peb.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/mtd/peb.c b/drivers/mtd/peb.c index 0e64fe1671..c35b63f2fd 100644 --- a/drivers/mtd/peb.c +++ b/drivers/mtd/peb.c @@ -76,11 +76,11 @@ static int mtd_peb_emulate_erase_failure(void) #ifdef CONFIG_MTD_PEB_DEBUG static int mtd_peb_debug_init(void) { - globalvar_add_simple_uint32("mtd_peb.mtd_peb_emulate_bitflip", + globalvar_add_simple_int("mtd_peb.mtd_peb_emulate_bitflip", &__mtd_peb_emulate_bitflip, "%u"); - globalvar_add_simple_uint32("mtd_peb.mtd_peb_emulate_write_failure", + globalvar_add_simple_int("mtd_peb.mtd_peb_emulate_write_failure", &__mtd_peb_emulate_write_failure, "%u"); - globalvar_add_simple_uint32("mtd_peb.mtd_peb_emulate_erase_failures", + globalvar_add_simple_int("mtd_peb.mtd_peb_emulate_erase_failures", &__mtd_peb_emulate_erase_failures, "%u"); globalvar_add_simple_bool("mtd_peb.mtd_peb_chk_io", &__mtd_peb_chk_io); |