The patch number 9371 was added via Mauro Carvalho Chehab <[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: Matthias Schwarzott  <[EMAIL PROTECTED]>
compat code: Fix compile failure of av7110.c on Kernel 2.6.27


av7110.c does not compile against a 2.6.27 kernel, as the inclusion of
linux/byteorder/swabb.h is now conditional with


But the byteorder changes in kernel took place after Kernel 2.6.27, so the
compat code needs to look like this:

Signed-off-by: Matthias Schwarzott <[EMAIL PROTECTED]>
Signed-off-by: Mauro Carvalho Chehab <[EMAIL PROTECTED]>


---

 linux/drivers/media/dvb/ttpci/av7110.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -r b97973d857a0 -r 237f2528f9a3 linux/drivers/media/dvb/ttpci/av7110.c
--- a/linux/drivers/media/dvb/ttpci/av7110.c    Sat Oct 25 00:13:57 2008 -0200
+++ b/linux/drivers/media/dvb/ttpci/av7110.c    Fri Oct 24 20:45:34 2008 +0000
@@ -52,7 +52,7 @@
 #include <linux/kthread.h>
 #include <asm/unaligned.h>
 #include <asm/byteorder.h>
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 27)
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 28)
 #include <linux/byteorder/swabb.h>
 #endif
 


---

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

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

Reply via email to