#include <linux/rbtree.h>
#include "mali_kernel_license.h"
#include "mali_osk_types.h"
+#include <linux/version.h>
extern struct platform_device *mali_platform_device;
+/* After 3.19.0 kenrel droped CONFIG_PM_RUNTIME define,define by ourself */
+#if defined(CONFIG_PM) && LINUX_VERSION_CODE >= KERNEL_VERSION(3, 19, 0)
+#define CONFIG_PM_RUNTIME 1
+#endif
+
#ifdef __cplusplus
}
#endif