From 9a07bd90fd8593f3559fb30000ea4fc4ae0d3cfb Mon Sep 17 00:00:00 2001 From: Mauro Carvalho Chehab Date: Sun, 7 Jan 2007 09:40:00 -0200 Subject: freezer.h exists only on kernel 2.6.20 From: Mauro Carvalho Chehab Create compat code with older kernels. kernel-sync: Signed-off-by: Mauro Carvalho Chehab --- linux/drivers/media/video/cx88/cx88-tvaudio.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'linux/drivers/media/video/cx88/cx88-tvaudio.c') diff --git a/linux/drivers/media/video/cx88/cx88-tvaudio.c b/linux/drivers/media/video/cx88/cx88-tvaudio.c index 86f273778..2a5ad4c9d 100644 --- a/linux/drivers/media/video/cx88/cx88-tvaudio.c +++ b/linux/drivers/media/video/cx88/cx88-tvaudio.c @@ -38,7 +38,12 @@ #include #include #include +#include "compat.h" +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,20) +#include +#else #include +#endif #include #include #include -- cgit v1.2.3