The patch number 8694 was added via Hans Verkuil <[EMAIL PROTECTED]>
to http://linuxtv.org/hg/v4l-dvb master development tree.

Kernel patches in this development tree may be modified to be backward
compatible with older kernels. Compatibility modifications will be
removed before inclusion into the mainstream Kernel

If anyone has any objections, please let us know by sending a message to:
        [EMAIL PROTECTED]

------

From: Hans Verkuil  <[EMAIL PROTECTED]>
pxa: fix build error for 2.6.27.


Priority: normal

Signed-off-by: Hans Verkuil <[EMAIL PROTECTED]>


---

 linux/drivers/media/video/pxa_camera.c |    5 +++++
 1 file changed, 5 insertions(+)

diff -r 4e372fa8e9c5 -r a6dd11e159f4 linux/drivers/media/video/pxa_camera.c
--- a/linux/drivers/media/video/pxa_camera.c    Sat Aug 16 15:55:33 2008 +0200
+++ b/linux/drivers/media/video/pxa_camera.c    Mon Aug 18 09:46:12 2008 +0200
@@ -36,8 +36,13 @@
 #include <linux/videodev2.h>
 
 #include <asm/dma.h>
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 27)
+#include <mach/pxa-regs.h>
+#include <mach/camera.h>
+#else
 #include <asm/arch/pxa-regs.h>
 #include <asm/arch/camera.h>
+#endif
 
 #define PXA_CAM_VERSION_CODE KERNEL_VERSION(0, 0, 5)
 #define PXA_CAM_DRV_NAME "pxa27x-camera"


---

Patch is available at: 
http://linuxtv.org/hg/v4l-dvb/rev/a6dd11e159f4a6e038b93a2fe7a6b1baf6b0407f

_______________________________________________
linuxtv-commits mailing list
linuxtv-commits@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to