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
/
timer
/
timer_device.c
diff --git
a/lunaix-os/hal/timer/timer_device.c
b/lunaix-os/hal/timer/timer_device.c
index c5341bed3886db14fe60e4e5c5f460c1ff61a4c1..3e47fac5f088b58cc2c6798e1d45cbc3faa117ac 100644
(file)
--- a/
lunaix-os/hal/timer/timer_device.c
+++ b/
lunaix-os/hal/timer/timer_device.c
@@
-62,5
+62,5
@@
hwtimer_init(u32_t hertz, void* tick_callback)
timerdev->ops.exec_cmd = __hwtimer_ioctl;
-
device_register
(timerdev, &hwt_ctx->class, hwt_ctx->name);
+
register_device
(timerdev, &hwt_ctx->class, hwt_ctx->name);
}
\ No newline at end of file