summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/m52790.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drivers/media/video/m52790.c')
-rw-r--r--linux/drivers/media/video/m52790.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/linux/drivers/media/video/m52790.c b/linux/drivers/media/video/m52790.c
index 77536ccfc..87e948caf 100644
--- a/linux/drivers/media/video/m52790.c
+++ b/linux/drivers/media/video/m52790.c
@@ -31,10 +31,6 @@
#include <media/v4l2-common.h>
#include <media/v4l2-chip-ident.h>
#include <media/v4l2-i2c-drv.h>
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 5, 0)
-#include "i2c-compat.h"
-#include <linux/slab.h>
-#endif
#include "compat.h"
MODULE_DESCRIPTION("i2c device driver for m52790 A/V switch");
@@ -44,10 +40,6 @@ MODULE_LICENSE("GPL");
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 22)
static unsigned short normal_i2c[] = { 0x90 >> 1, I2C_CLIENT_END };
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 13)
-static unsigned short normal_i2c_range[] = { I2C_CLIENT_END };
-#endif
-
I2C_CLIENT_INSMOD;
#endif
@@ -193,7 +185,3 @@ static struct v4l2_i2c_driver_data v4l2_i2c_data = {
.id_table = m52790_id,
#endif
};
-
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 5, 0)
-EXPORT_NO_SYMBOLS;
-#endif