2.6.27 fixes
authorGrazvydas Ignotas <notasas@gmail.com>
Sat, 24 Mar 2012 23:53:11 +0000 (01:53 +0200)
committerGrazvydas Ignotas <notasas@gmail.com>
Sun, 25 Mar 2012 00:43:47 +0000 (02:43 +0200)
services4/3rdparty/dc_omap3430_linux/omaplfb_linux.c
services4/system/omap3430/sysutils_linux.c

index 9690796..91254af 100644 (file)
@@ -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 <plat/display.h>
+#else
+#include <mach/display.h>
+#endif
 #include <linux/console.h>
 #include <linux/fb.h>
 static omap_dispc_isr_t *pOMAPLFBVSyncISRHandle = NULL;
index 6c3063e..0991d3f 100644 (file)
@@ -39,8 +39,6 @@
 
 #if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,26))
 #include <linux/semaphore.h>
-#include <mach/resource.h>
-#include <mach/omap-pm.h>
 #else
 #include <asm/semaphore.h>
 #if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,22))