summaryrefslogtreecommitdiff
path: root/components/drivers/include
diff options
context:
space:
mode:
Diffstat (limited to 'components/drivers/include')
-rw-r--r--components/drivers/include/drivers/rtc_core.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/drivers/include/drivers/rtc_core.h b/components/drivers/include/drivers/rtc_core.h
index f0c7b64e94..e858e9ee28 100644
--- a/components/drivers/include/drivers/rtc_core.h
+++ b/components/drivers/include/drivers/rtc_core.h
@@ -37,7 +37,7 @@ typedef struct rt_rtc_device
const struct rt_rtc_ops *ops;
} rt_rtc_dev_t;
-rt_err_t rt_rtc_dev_register(rt_rtc_dev_t *rtc,
+rt_err_t rt_hw_rtc_register(rt_rtc_dev_t *rtc,
const char *name,
rt_uint32_t flag,
void *data);