.. | .. |
---|
20 | 20 | extern "C" { |
---|
21 | 21 | #endif |
---|
22 | 22 | |
---|
| 23 | +#include <linux/timer.h> |
---|
| 24 | + |
---|
23 | 25 | /** |
---|
24 | 26 | * @addtogroup uddapi Unified Device Driver (UDD) APIs |
---|
25 | 27 | * |
---|
.. | .. |
---|
394 | 396 | * the callback. Therefore, the callback may not obtain any mutexes also held |
---|
395 | 397 | * by any callers of _mali_osk_timer_del(). Otherwise, a deadlock may occur. |
---|
396 | 398 | * |
---|
397 | | - * @param arg Function-specific data */ |
---|
| 399 | + * @param arg the pointer to current _mali_osk_timer_t(timer_list) instance. */ |
---|
398 | 400 | typedef void (*_mali_osk_timer_callback_t)(void *arg); |
---|
399 | 401 | |
---|
400 | 402 | /** @brief Private type for Timer Callback Objects */ |
---|
401 | | -typedef struct _mali_osk_timer_t_struct _mali_osk_timer_t; |
---|
| 403 | +typedef struct timer_list _mali_osk_timer_t; |
---|
402 | 404 | /** @} */ /* end group _mali_osk_timer */ |
---|
403 | 405 | |
---|
404 | 406 | |
---|