[PATCH V2 05/19] tick: move definition of tick_get_device() to tick.h