diff options
author | Peter Korsgaard <peter@korsgaard.com> | 2015-02-03 14:52:07 +0100 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2015-02-03 14:52:56 +0100 |
commit | 298cd8eaa21a21eee85f9551a26ad294347b1d5a (patch) | |
tree | 249fa33b66f65e6daffdbfc8ca2e5399e8d89e61 /package/ti-gfx/0002-fix-build-omaplfb-linux.patch | |
parent | dd798a45c571063595c45278e28ed4f614f2cf32 (diff) | |
download | buildroot-298cd8eaa21a21eee85f9551a26ad294347b1d5a.tar.gz buildroot-298cd8eaa21a21eee85f9551a26ad294347b1d5a.zip |
package/*: rename patches according to the new policy
Autogenerated from rename-patch.py (http://patchwork.ozlabs.org/patch/403345)
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/ti-gfx/0002-fix-build-omaplfb-linux.patch')
-rw-r--r-- | package/ti-gfx/0002-fix-build-omaplfb-linux.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/package/ti-gfx/0002-fix-build-omaplfb-linux.patch b/package/ti-gfx/0002-fix-build-omaplfb-linux.patch new file mode 100644 index 0000000000..002d01c1af --- /dev/null +++ b/package/ti-gfx/0002-fix-build-omaplfb-linux.patch @@ -0,0 +1,21 @@ +Since commit a73fdc647417699833f22d0f239affe22e062827 in the kernel, +omap_dss_device's 'output' is renamed 'src'. + +Fix build with at least es5.x selected (AM35xx). + +Signed-off-by: Hadrien Boutteville <hadrien.boutteville@gmail.com> + +--- a/GFX_Linux_KM/services4/3rdparty/dc_omapfb3_linux/omaplfb_linux.c ++++ b/GFX_Linux_KM/services4/3rdparty/dc_omapfb3_linux/omaplfb_linux.c +@@ -176,8 +176,10 @@ + #define OMAP_DSS_DRIVER(drv, dev) struct omap_dss_driver *drv = (dev) != NULL ? (dev)->driver : NULL + #if (LINUX_VERSION_CODE < KERNEL_VERSION(3,7,0)) + #define OMAP_DSS_MANAGER(man, dev) struct omap_overlay_manager *man = (dev) != NULL ? (dev)->manager : NULL +-#else ++#elif (LINUX_VERSION_CODE < KERNEL_VERSION(3,12,0)) + #define OMAP_DSS_MANAGER(man, dev) struct omap_overlay_manager *man = (dev) != NULL ? (dev)->output->manager : NULL ++#else ++#define OMAP_DSS_MANAGER(man, dev) struct omap_overlay_manager *man = (dev) != NULL ? (dev)->src->manager : NULL + #endif + + #define WAIT_FOR_VSYNC(man) ((man)->wait_for_vsync) |