diff options
Diffstat (limited to 'components/drivers')
| -rw-r--r-- | components/drivers/include/drivers/rtc_core.h | 2 | ||||
| -rw-r--r-- | components/drivers/rtc/rtc_core.c | 2 |
2 files changed, 2 insertions, 2 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); 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) |
