From: Grazvydas Ignotas Date: Sat, 24 Mar 2012 23:53:11 +0000 (+0200) Subject: 2.6.27 fixes X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c6f634d5a300e14f923742bab141626c22dd0563;p=sgx.git 2.6.27 fixes --- 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))