summaryrefslogtreecommitdiff
path: root/drivers/gpu/arm/mali/linux/mali_kernel_linux.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/arm/mali/linux/mali_kernel_linux.h')
-rwxr-xr-xdrivers/gpu/arm/mali/linux/mali_kernel_linux.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/gpu/arm/mali/linux/mali_kernel_linux.h b/drivers/gpu/arm/mali/linux/mali_kernel_linux.h
index 785eaca4889..485c27e1ecb 100755
--- a/drivers/gpu/arm/mali/linux/mali_kernel_linux.h
+++ b/drivers/gpu/arm/mali/linux/mali_kernel_linux.h
@@ -16,9 +16,23 @@ extern "C"
{
#endif
+#include <linux/cdev.h> /* character device definitions */
+#include "mali_kernel_license.h"
+
+struct mali_dev
+{
+ struct cdev cdev;
+#if MALI_LICENSE_IS_GPL
+ struct class * mali_class;
+#endif
+};
+
_mali_osk_errcode_t initialize_kernel_device(void);
void terminate_kernel_device(void);
+void mali_osk_low_level_mem_init(void);
+void mali_osk_low_level_mem_term(void);
+
#ifdef __cplusplus
}
#endif