From 8ed9381af30f4650567c10f6fd2ac35c4ed94c60 Mon Sep 17 00:00:00 2001 From: Shawn Guo Date: Mon, 29 Jul 2013 11:32:16 +0800 Subject: [PATCH] ENGR00240988: gpu: use a dummy imx_gpc_power_up_pu() on 3.10 for now Use a dummy imx_gpc_power_up_pu() on 3.10 kernel for now, and will need to revisit it when the power management of PU is ready on 3.10 kernel. Signed-off-by: Shawn Guo --- drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_os.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_os.c b/drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_os.c index 2a0379b9284f..f82fe4be2cca 100644 --- a/drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_os.c +++ b/drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_os.c @@ -38,7 +38,9 @@ #if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,23) #include #endif -#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,5,0) +#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,10,0) +static inline void imx_gpc_power_up_pu(bool flag) {} +#elif LINUX_VERSION_CODE >= KERNEL_VERSION(3,5,0) #include #endif #include -- 2.39.5