diff options
Diffstat (limited to 'linux/drivers/media/video/cx25840')
-rw-r--r-- | linux/drivers/media/video/cx25840/cx25840-audio.c | 3 | ||||
-rw-r--r-- | linux/drivers/media/video/cx25840/cx25840-core.c | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/linux/drivers/media/video/cx25840/cx25840-audio.c b/linux/drivers/media/video/cx25840/cx25840-audio.c index 448305874..51b00e593 100644 --- a/linux/drivers/media/video/cx25840/cx25840-audio.c +++ b/linux/drivers/media/video/cx25840/cx25840-audio.c @@ -21,6 +21,9 @@ #include <linux/i2c.h> #include <media/audiochip.h> #include <media/v4l2-common.h> +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0) +#include <media/i2c-compat.h> +#endif #include "cx25840.h" diff --git a/linux/drivers/media/video/cx25840/cx25840-core.c b/linux/drivers/media/video/cx25840/cx25840-core.c index 517a702bd..cfa9cca9f 100644 --- a/linux/drivers/media/video/cx25840/cx25840-core.c +++ b/linux/drivers/media/video/cx25840/cx25840-core.c @@ -34,6 +34,9 @@ #include <linux/i2c.h> #include <media/audiochip.h> #include <media/v4l2-common.h> +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0) +#include <media/i2c-compat.h> +#endif #include "cx25840.h" |