summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2020-03-18 08:48:17 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2020-03-18 08:48:17 +0100
commit1e23cf5c7b71c29cc8dd7b0c5b80929d286b554e (patch)
treed5a3f3b108f37f1e80ccd64242222b2cc5548607 /common
parent8c02f14d1db16068a005b9674da42f14f344ab89 (diff)
parenta2d10b46f39e36c0e19bfde0737e27d2b0bf43ba (diff)
downloadbarebox-1e23cf5c7b71c29cc8dd7b0c5b80929d286b554e.tar.gz
Merge branch 'for-next/stm32'
Diffstat (limited to 'common')
-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 8fdf052..343dc08 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)
{