From b12831a462e695841ace55e08ac956e6724ab496 Mon Sep 17 00:00:00 2001 From: Mauro Carvalho Chehab Date: Fri, 24 Oct 2008 20:45:34 +0000 Subject: compat code: Fix compile failure of av7110.c on Kernel 2.6.27 From: Matthias Schwarzott 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 Signed-off-by: Mauro Carvalho Chehab --- linux/drivers/media/dvb/ttpci/av7110.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'linux/drivers/media/dvb') 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 #include #include -#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 27) +#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 28) #include #endif -- cgit v1.2.3