git://scm.lunaixsky.com
/
lunaix-os.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
feat: owloysius - dynamic init function invocator
[lunaix-os.git]
/
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 b322103720a876e62542dd01404c1c268ab18798..ad063437c842de98fc7e1d8f75a695c71dd5f3e2 100644
(file)
--- 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;
}
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
}
static void