[linux-dvb] [PATCH] compat code: Fix compile failure of av7110.c on Kernel 2.6.27
Matthias Schwarzott
zzam at gentoo.org
Fri Oct 24 19:45:34 CEST 2008
Hi list!
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 <zzam at gentoo.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: av7110-kernel-2.6.27-fix.diff
Type: text/x-diff
Size: 931 bytes
Desc: not available
Url : http://www.linuxtv.org/pipermail/linux-dvb/attachments/20081024/9e1cd36f/attachment.diff
More information about the linux-dvb
mailing list