summaryrefslogtreecommitdiffstats
path: root/common/reset_source.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/reset_source.c')
-rw-r--r--common/reset_source.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/common/reset_source.c b/common/reset_source.c
index fdc30f4..3a11d26 100644
--- a/common/reset_source.c
+++ b/common/reset_source.c
@@ -27,18 +27,18 @@ static const char * const reset_src_names[] = {
[RESET_JTAG] = "JTAG",
};
-void set_reset_source(enum reset_src_type st)
+void reset_source_set(enum reset_src_type st)
{
setenv("global.system.reset", reset_src_names[st]);
}
-EXPORT_SYMBOL(set_reset_source);
+EXPORT_SYMBOL(reset_source_set);
/* ensure this runs after the 'global' device is already registerd */
-static int init_reset_source(void)
+static int reset_source_init(void)
{
globalvar_add_simple("system.reset", reset_src_names[RESET_UKWN]);
return 0;
}
-coredevice_initcall(init_reset_source);
+coredevice_initcall(reset_source_init);