summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/vp27smpx.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drivers/media/video/vp27smpx.c')
-rw-r--r--linux/drivers/media/video/vp27smpx.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/linux/drivers/media/video/vp27smpx.c b/linux/drivers/media/video/vp27smpx.c
index 25a69c7f5..6c47c5e5a 100644
--- a/linux/drivers/media/video/vp27smpx.c
+++ b/linux/drivers/media/video/vp27smpx.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("vp27smpx driver");
@@ -44,10 +40,6 @@ MODULE_LICENSE("GPL");
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 22)
static unsigned short normal_i2c[] = { 0xb6 >> 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
@@ -183,14 +175,7 @@ static struct v4l2_i2c_driver_data v4l2_i2c_data = {
.command = vp27smpx_command,
.probe = vp27smpx_probe,
.remove = vp27smpx_remove,
-#ifndef I2C_CLASS_TV_ANALOG
- .legacy_id = I2C_HW_B_CX2341X,
-#endif
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 26)
.id_table = vp27smpx_id,
#endif
};
-
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 5, 0)
-EXPORT_NO_SYMBOLS;
-#endif