This commit adds support for kernel 4.15, which changed the timer interface. Signed-off-by: Icenowy Zheng <icenowy@aosc.io>