diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-01-07 09:40:00 -0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-01-07 09:40:00 -0200 |
commit | 9a07bd90fd8593f3559fb30000ea4fc4ae0d3cfb (patch) | |
tree | cbf0627cabb6735de82ced3519ddadd9d516612d /linux/drivers/media/video/cx88/cx88-tvaudio.c | |
parent | ce2499abcaca7d43e271cb649870d9e39c99dd9a (diff) | |
download | mediapointer-dvb-s2-9a07bd90fd8593f3559fb30000ea4fc4ae0d3cfb.tar.gz mediapointer-dvb-s2-9a07bd90fd8593f3559fb30000ea4fc4ae0d3cfb.tar.bz2 |
freezer.h exists only on kernel 2.6.20
From: Mauro Carvalho Chehab <mchehab@infradead.org>
Create compat code with older kernels.
kernel-sync:
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/video/cx88/cx88-tvaudio.c')
-rw-r--r-- | linux/drivers/media/video/cx88/cx88-tvaudio.c | 5 |
1 files changed, 5 insertions, 0 deletions
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 <linux/module.h> #include <linux/moduleparam.h> #include <linux/errno.h> +#include "compat.h" +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,20) +#include <linux/suspend.h> +#else #include <linux/freezer.h> +#endif #include <linux/kernel.h> #include <linux/slab.h> #include <linux/mm.h> |