1 From 617bdbec386a1237e2a148989318cc4a1360788a Mon Sep 17 00:00:00 2001
2 From: Otavio Salvador <otavio@ossystems.com.br>
3 Date: Tue, 18 Aug 2015 23:08:48 +0000
4 Subject: [PATCH] platform: Fix kernel version check for 3.14-based kernels
5 Organization: O.S. Systems Software LTDA.
7 The build fail about the bus frequency header (linux/busfreq-imx6.h)
8 not being found is caused by the mistaken check for the wrong kernel
11 This patch fixes it by adding the right kernel version to be checked.
13 Upstream-Status: Pending
15 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
17 .../os/linux/kernel/platform/freescale/gc_hal_kernel_platform_imx6q14.c | 2 +-
18 1 file changed, 1 insertion(+), 1 deletion(-)
20 diff --git a/imx-gpu-viv-kernel-src/hal/os/linux/kernel/platform/freescale/gc_hal_kernel_platform_imx6q14.c b/imx-gpu-viv-kernel-src/hal/os/linux/kernel/platform/freescale/gc_hal_kernel_platform_imx6q14.c
21 index a2e72ff..241614a 100644
22 --- a/imx-gpu-viv-kernel-src/hal/os/linux/kernel/platform/freescale/gc_hal_kernel_platform_imx6q14.c
23 +++ b/imx-gpu-viv-kernel-src/hal/os/linux/kernel/platform/freescale/gc_hal_kernel_platform_imx6q14.c
25 #include <linux/pm_runtime.h>
26 #if LINUX_VERSION_CODE < KERNEL_VERSION(3, 10, 0)
27 #include <mach/busfreq.h>
28 -#elif LINUX_VERSION_CODE < KERNEL_VERSION(3, 14, 0)
29 +#elif LINUX_VERSION_CODE < KERNEL_VERSION(3, 15, 0)
30 #include <linux/busfreq-imx6.h>
31 #include <linux/reset.h>