summaryrefslogtreecommitdiffstats
path: root/include/reset_source.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/reset_source.h')
-rw-r--r--include/reset_source.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/reset_source.h b/include/reset_source.h
index f3a203a..bff7f97 100644
--- a/include/reset_source.h
+++ b/include/reset_source.h
@@ -24,10 +24,16 @@ enum reset_src_type {
#ifdef CONFIG_RESET_SOURCE
void reset_source_set(enum reset_src_type);
+enum reset_src_type reset_source_get(void);
#else
static inline void reset_source_set(enum reset_src_type unused)
{
}
+
+static inline enum reset_src_type reset_source_get(void)
+{
+ return RESET_UKWN;
+}
#endif
#endif /* __INCLUDE_RESET_SOURCE_H */