From: Shawn Guo Date: Mon, 29 Jul 2013 03:32:16 +0000 (+0800) Subject: ENGR00240988: gpu: use a dummy imx_gpc_power_up_pu() on 3.10 for now X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=8ed9381af30f4650567c10f6fd2ac35c4ed94c60;p=karo-tx-linux.git 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 --- 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