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 #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 27) But the byteorder changes in kernel took place after Kernel 2.6.27, so the compat code needs to look like this: #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 28) Signed-off-by: Matthias Schwarzott Index: v4l-dvb/linux/drivers/media/dvb/ttpci/av7110.c =================================================================== --- v4l-dvb.orig/linux/drivers/media/dvb/ttpci/av7110.c +++ v4l-dvb/linux/drivers/media/dvb/ttpci/av7110.c @@ -52,7 +52,7 @@ #include #include #include -#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 27) +#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 28) #include #endif