summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/ttpci
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2008-10-24 20:45:34 +0000
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-10-24 20:45:34 +0000
commitb12831a462e695841ace55e08ac956e6724ab496 (patch)
tree22ac616d10984a3a04654ea3529adf894158f4a8 /linux/drivers/media/dvb/ttpci
parent9a7a51209584be9da3ae6f0628885b4fb4f137ae (diff)
downloadmediapointer-dvb-s2-b12831a462e695841ace55e08ac956e6724ab496.tar.gz
mediapointer-dvb-s2-b12831a462e695841ace55e08ac956e6724ab496.tar.bz2
compat code: Fix compile failure of av7110.c on Kernel 2.6.27
From: Matthias Schwarzott <zzam@gentoo.org> 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 <zzam@gentoo.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux/drivers/media/dvb/ttpci')
-rw-r--r--linux/drivers/media/dvb/ttpci/av7110.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/ttpci/av7110.c b/linux/drivers/media/dvb/ttpci/av7110.c
index 2ef9f030f..b99057a68 100644
--- a/linux/drivers/media/dvb/ttpci/av7110.c
+++ b/linux/drivers/media/dvb/ttpci/av7110.c
@@ -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