diff options
Diffstat (limited to 'zephyr/shim/src/rtc.c')
-rw-r--r-- | zephyr/shim/src/rtc.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/zephyr/shim/src/rtc.c b/zephyr/shim/src/rtc.c index 6e694d48e4..b3d2be1086 100644 --- a/zephyr/shim/src/rtc.c +++ b/zephyr/shim/src/rtc.c @@ -36,10 +36,8 @@ void rtc_callback(const struct device *dev) } /** Initialize the rtc. */ -static int system_init_rtc(const struct device *unused) +static int system_init_rtc(void) { - ARG_UNUSED(unused); - cros_rtc_dev = DEVICE_DT_GET(CROS_RTC_NODE); if (!cros_rtc_dev) { LOG_ERR("Error: device %s is not ready", cros_rtc_dev->name); |