diff options
author | Michael Krufky <mkrufky@linuxtv.org> | 2007-07-21 14:34:37 -0400 |
---|---|---|
committer | Michael Krufky <mkrufky@linuxtv.org> | 2007-07-21 14:34:37 -0400 |
commit | fc2558082d8fa345e730acdd010742cf2932dea3 (patch) | |
tree | d6154f96ee724e2d857dd6ebfccce9803e27ce26 /linux/drivers/media/video/msp3400-kthreads.c | |
parent | 09de97070903fecead7c3b0283a0234b28e28223 (diff) | |
download | mediapointer-dvb-s2-fc2558082d8fa345e730acdd010742cf2932dea3.tar.gz mediapointer-dvb-s2-fc2558082d8fa345e730acdd010742cf2932dea3.tar.bz2 |
msp3400: fix compat for #include of <linux/freezer.h>
From: Michael Krufky <mkrufky@linuxtv.org>
only #include <linux/freezer.h> #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,23)
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Diffstat (limited to 'linux/drivers/media/video/msp3400-kthreads.c')
-rw-r--r-- | linux/drivers/media/video/msp3400-kthreads.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/linux/drivers/media/video/msp3400-kthreads.c b/linux/drivers/media/video/msp3400-kthreads.c index d10f683d9..0ae935474 100644 --- a/linux/drivers/media/video/msp3400-kthreads.c +++ b/linux/drivers/media/video/msp3400-kthreads.c @@ -23,7 +23,9 @@ #include <linux/module.h> #include <linux/slab.h> #include <linux/i2c.h> +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,23) #include <linux/freezer.h> +#endif #include <linux/videodev.h> #include <linux/videodev2.h> #include <media/v4l2-common.h> |