X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/2236410f4582ab45ae8c384dd6eeeef5d10aab15..7b8a1bcad75628f9add4590db2bb9b8e418ee8eb:/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 c5341be..3e47fac 100644 --- 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