diff options
Diffstat (limited to 'recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv/work-around-include-file-rename.patch')
-rw-r--r-- | recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv/work-around-include-file-rename.patch | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv/work-around-include-file-rename.patch b/recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv/work-around-include-file-rename.patch deleted file mode 100644 index 5b923924..00000000 --- a/recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv/work-around-include-file-rename.patch +++ /dev/null | |||
@@ -1,30 +0,0 @@ | |||
1 | From 3ec514cf260b82f4701b6fed521ce470d9faf8c9 Mon Sep 17 00:00:00 2001 | ||
2 | From: Gary Thomas <gary@mlbassoc.com> | ||
3 | Date: Tue, 6 Oct 2015 09:32:22 -0600 | ||
4 | Subject: [PATCH] kernel-module-imx-gpu-viv: Better work-around for change in name of busfreq-imx.h | ||
5 | |||
6 | The renaming of include/linux/busfreq-imx6.h to include/linux/busfreq-imx.h | ||
7 | is not consistent over the many kernel versions currently being built. This | ||
8 | changeset works around this inconsistency by creating a local symbolic link | ||
9 | to whatever file is actually present in the kernel sources. | ||
10 | |||
11 | Signed-off-by: Gary Thomas <gary@mlbassoc.com> | ||
12 | Upstream-status: Innapropriate [requires OE recipe support] | ||
13 | ---- | ||
14 | Index: kernel-module-imx-gpu-viv-5.0.11.p7.1/kernel-module-imx-gpu-viv-src/hal/os/linux/kernel/platform/freescale/gc_hal_kernel_platform_imx6q14.c | ||
15 | =================================================================== | ||
16 | --- kernel-module-imx-gpu-viv-5.0.11.p7.1.orig/kernel-module-imx-gpu-viv-src/hal/os/linux/kernel/platform/freescale/gc_hal_kernel_platform_imx6q14.c | ||
17 | +++ kernel-module-imx-gpu-viv-5.0.11.p7.1/kernel-module-imx-gpu-viv-src/hal/os/linux/kernel/platform/freescale/gc_hal_kernel_platform_imx6q14.c | ||
18 | @@ -74,11 +74,8 @@ | ||
19 | #include <linux/pm_runtime.h> | ||
20 | #if LINUX_VERSION_CODE < KERNEL_VERSION(3, 10, 0) | ||
21 | #include <mach/busfreq.h> | ||
22 | -#elif LINUX_VERSION_CODE < KERNEL_VERSION(3, 14, 0) | ||
23 | -#include <linux/busfreq-imx6.h> | ||
24 | -#include <linux/reset.h> | ||
25 | #else | ||
26 | -#include <linux/busfreq-imx.h> | ||
27 | +#include "busfreq-imx.h" | ||
28 | #include <linux/reset.h> | ||
29 | #endif | ||
30 | #endif | ||