- int (*supported)(struct hwtimer_context*);
- void (*init)(struct hwtimer_context*, u32_t hertz, timer_tick_cb);
+ struct devclass class;
+ struct device* timer_dev;
+
+ int (*supported)(struct hwtimer*);
+ void (*init)(struct hwtimer*, u32_t hertz, timer_tick_cb);