From 6e12eca32dc1316689a74f929e334f02feac06ab Mon Sep 17 00:00:00 2001 From: Gary Thomas Date: Tue, 6 Oct 2015 10:03:47 -0600 Subject: kernel-module-imx-gpu-viv: Better work-around for change in name of busfreq-imx.h The renaming of include/linux/busfreq-imx6.h to include/linux/busfreq-imx.h is not consistent over the many kernel versions currently being built. This changeset works around this inconsistency by creating a local symbolic link to whatever file is actually present in the kernel sources. Signed-off-by: Gary Thomas --- .../work-around-include-file-rename.patch | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv/work-around-include-file-rename.patch (limited to 'recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv/work-around-include-file-rename.patch') 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 new file mode 100644 index 000000000..5b9239241 --- /dev/null +++ b/recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv/work-around-include-file-rename.patch @@ -0,0 +1,30 @@ +From 3ec514cf260b82f4701b6fed521ce470d9faf8c9 Mon Sep 17 00:00:00 2001 +From: Gary Thomas +Date: Tue, 6 Oct 2015 09:32:22 -0600 +Subject: [PATCH] kernel-module-imx-gpu-viv: Better work-around for change in name of busfreq-imx.h + +The renaming of include/linux/busfreq-imx6.h to include/linux/busfreq-imx.h +is not consistent over the many kernel versions currently being built. This +changeset works around this inconsistency by creating a local symbolic link +to whatever file is actually present in the kernel sources. + +Signed-off-by: Gary Thomas +Upstream-status: Innapropriate [requires OE recipe support] +---- +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 +=================================================================== +--- 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 ++++ 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 +@@ -74,11 +74,8 @@ + #include + #if LINUX_VERSION_CODE < KERNEL_VERSION(3, 10, 0) + #include +-#elif LINUX_VERSION_CODE < KERNEL_VERSION(3, 14, 0) +-#include +-#include + #else +-#include ++#include "busfreq-imx.h" + #include + #endif + #endif -- cgit v1.2.3-54-g00ecf