From e3e12f52b214121840b44c91de5b3e5af5d3eb84 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Mon, 06 Nov 2023 03:04:41 +0000
Subject: [PATCH] rk3568 rt init

---
 kernel/drivers/gpu/arm/mali400/mali/common/mali_osk_types.h |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/kernel/drivers/gpu/arm/mali400/mali/common/mali_osk_types.h b/kernel/drivers/gpu/arm/mali400/mali/common/mali_osk_types.h
index b6fa94c..60ae190 100755
--- a/kernel/drivers/gpu/arm/mali400/mali/common/mali_osk_types.h
+++ b/kernel/drivers/gpu/arm/mali400/mali/common/mali_osk_types.h
@@ -20,6 +20,8 @@
 extern "C" {
 #endif
 
+#include <linux/timer.h>
+
 /**
  * @addtogroup uddapi Unified Device Driver (UDD) APIs
  *
@@ -394,11 +396,11 @@
  * the callback. Therefore, the callback may not obtain any mutexes also held
  * by any callers of _mali_osk_timer_del(). Otherwise, a deadlock may occur.
  *
- * @param arg Function-specific data */
+ * @param arg the pointer to current _mali_osk_timer_t(timer_list) instance. */
 typedef void (*_mali_osk_timer_callback_t)(void *arg);
 
 /** @brief Private type for Timer Callback Objects */
-typedef struct _mali_osk_timer_t_struct _mali_osk_timer_t;
+typedef struct timer_list _mali_osk_timer_t;
 /** @} */ /* end group _mali_osk_timer */
 
 

--
Gitblit v1.6.2