package/dhcp/S80dhcp-server: allow empty INTERFACES
[buildroot-gz.git] / package / ti-gfx / 0002-fix-build-omaplfb-linux.patch
blob002d01c1af91b5ee1b5d487d7e74a0511f0f49b9
1 Since commit a73fdc647417699833f22d0f239affe22e062827 in the kernel,
2 omap_dss_device's 'output' is renamed 'src'.
4 Fix build with at least es5.x selected (AM35xx).
6 Signed-off-by: Hadrien Boutteville <hadrien.boutteville@gmail.com>
8 --- a/GFX_Linux_KM/services4/3rdparty/dc_omapfb3_linux/omaplfb_linux.c
9 +++ b/GFX_Linux_KM/services4/3rdparty/dc_omapfb3_linux/omaplfb_linux.c
10 @@ -176,8 +176,10 @@
11 #define OMAP_DSS_DRIVER(drv, dev) struct omap_dss_driver *drv = (dev) != NULL ? (dev)->driver : NULL
12 #if (LINUX_VERSION_CODE < KERNEL_VERSION(3,7,0))
13 #define OMAP_DSS_MANAGER(man, dev) struct omap_overlay_manager *man = (dev) != NULL ? (dev)->manager : NULL
14 -#else
15 +#elif (LINUX_VERSION_CODE < KERNEL_VERSION(3,12,0))
16 #define OMAP_DSS_MANAGER(man, dev) struct omap_overlay_manager *man = (dev) != NULL ? (dev)->output->manager : NULL
17 +#else
18 +#define OMAP_DSS_MANAGER(man, dev) struct omap_overlay_manager *man = (dev) != NULL ? (dev)->src->manager : NULL
19 #endif
21 #define WAIT_FOR_VSYNC(man) ((man)->wait_for_vsync)