X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/1375eb51603466b723ab7dd1ca4194ee5d662f75..dbfc095e6e2db3fd17d5406c1ec30a478194ad4d:/lunaix-os/hal/rtc/rtc_device.c diff --git a/lunaix-os/hal/rtc/rtc_device.c b/lunaix-os/hal/rtc/rtc_device.c index b322103..ad06343 100644 --- a/lunaix-os/hal/rtc/rtc_device.c +++ b/lunaix-os/hal/rtc/rtc_device.c @@ -91,7 +91,7 @@ hwrtc_register(struct devclass* class, struct hwrtc* rtc) } class->variant = rtc->id; - device_register(rtc->rtc_dev, class, "rtc%d", rtc->id); + register_device(rtc->rtc_dev, class, "rtc%d", rtc->id); } static void