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.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/common/reset_source.c b/common/reset_source.c
index 8fdf05215..343dc0844 100644
--- a/common/reset_source.c
+++ b/common/reset_source.c
@@ -42,11 +42,11 @@ enum reset_src_type reset_source_get(void)
}
EXPORT_SYMBOL(reset_source_get);
-const char *reset_source_name(void)
+const char *reset_source_to_string(enum reset_src_type st)
{
- return reset_src_names[reset_source];
+ return reset_src_names[st];
}
-EXPORT_SYMBOL(reset_source_name);
+EXPORT_SYMBOL(reset_source_to_string);
int reset_source_get_instance(void)
{