summaryrefslogtreecommitdiffstats
path: root/common/reset_source.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2017-06-13 16:04:40 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2017-06-13 16:04:40 +0200
commitb2cb923506b6532ecd06a48e57757d24ccf4940b (patch)
tree9a8c76f8c65b9086f58ea1d43d84fa9e093d9a3c /common/reset_source.c
parent7917ad2b03127f29b463b4d72dc063491ee41a87 (diff)
downloadbarebox-b2cb923506b6532ecd06a48e57757d24ccf4940b.tar.gz
Revert "globalvar: make globalvar functions more consistent"
This reverts commit 1b4a05c9263ae26083526acfabdea1ef96531a1d.
Diffstat (limited to 'common/reset_source.c')
-rw-r--r--common/reset_source.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/reset_source.c b/common/reset_source.c
index e18bf6d..06e2ca8 100644
--- a/common/reset_source.c
+++ b/common/reset_source.c
@@ -54,7 +54,7 @@ EXPORT_SYMBOL(reset_source_set_priority);
static int reset_source_init(void)
{
- globalvar_add_simple_enum_ro("system.reset", (unsigned int *)&reset_source,
+ globalvar_add_simple_enum("system.reset", (unsigned int *)&reset_source,
reset_src_names, ARRAY_SIZE(reset_src_names));
return 0;