X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/64e5fa9a495e388c922157b9a616204c299f5e05..7b8a1bcad75628f9add4590db2bb9b8e418ee8eb:/lunaix-os/hal/rtc/rtc_device.c?ds=inline 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