From c6f634d5a300e14f923742bab141626c22dd0563 Mon Sep 17 00:00:00 2001 From: Grazvydas Ignotas Date: Sun, 25 Mar 2012 01:53:11 +0200 Subject: [PATCH] 2.6.27 fixes --- services4/3rdparty/dc_omap3430_linux/omaplfb_linux.c | 4 ++++ services4/system/omap3430/sysutils_linux.c | 2 -- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/services4/3rdparty/dc_omap3430_linux/omaplfb_linux.c b/services4/3rdparty/dc_omap3430_linux/omaplfb_linux.c index 9690796..91254af 100644 --- a/services4/3rdparty/dc_omap3430_linux/omaplfb_linux.c +++ b/services4/3rdparty/dc_omap3430_linux/omaplfb_linux.c @@ -56,7 +56,11 @@ extern int omap_dispc_request_irq(unsigned long, void (*)(void *), void *); extern void omap_dispc_free_irq(unsigned long, void (*)(void *), void *); extern void omap_dispc_set_plane_base(int plane, IMG_UINT32 phys_addr); #else +#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,32)) #include +#else +#include +#endif #include #include static omap_dispc_isr_t *pOMAPLFBVSyncISRHandle = NULL; diff --git a/services4/system/omap3430/sysutils_linux.c b/services4/system/omap3430/sysutils_linux.c index 6c3063e..0991d3f 100644 --- a/services4/system/omap3430/sysutils_linux.c +++ b/services4/system/omap3430/sysutils_linux.c @@ -39,8 +39,6 @@ #if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,26)) #include -#include -#include #else #include #if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,22)) -- 2.39.5