From 9e47b95e61b09ddbec2bc9f8a2c2cbb970b1f54e Mon Sep 17 00:00:00 2001 From: Meco Man <920369182@qq.com> Date: Fri, 30 Jul 2021 02:31:15 +0800 Subject: rt_rtc_dev_register -> rt_hw_rtc_register --- components/drivers/include/drivers/rtc_core.h | 2 +- components/drivers/rtc/rtc_core.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'components/drivers') 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); 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) -- cgit v1.3.1