summaryrefslogtreecommitdiff
path: root/components/drivers/rtc/rtc_core.c
diff options
context:
space:
mode:
Diffstat (limited to 'components/drivers/rtc/rtc_core.c')
-rw-r--r--components/drivers/rtc/rtc_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/drivers/rtc/rtc_core.c b/components/drivers/rtc/rtc_core.c
index 80bb61c8aa..8edec43095 100644
--- a/components/drivers/rtc/rtc_core.c
+++ b/components/drivers/rtc/rtc_core.c
@@ -91,7 +91,7 @@ const static struct rt_device_ops rtc_core_ops =
};
#endif
-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)