summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/usbvision/usbvision-i2c.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drivers/media/video/usbvision/usbvision-i2c.c')
-rw-r--r--linux/drivers/media/video/usbvision/usbvision-i2c.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/linux/drivers/media/video/usbvision/usbvision-i2c.c b/linux/drivers/media/video/usbvision/usbvision-i2c.c
index 1b6180573..9d2f6b985 100644
--- a/linux/drivers/media/video/usbvision/usbvision-i2c.c
+++ b/linux/drivers/media/video/usbvision/usbvision-i2c.c
@@ -29,9 +29,7 @@
#include <linux/delay.h>
#include <linux/slab.h>
#include <linux/version.h>
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,14)
#include <linux/utsname.h>
-#endif
#include <linux/init.h>
#include <asm/uaccess.h>
#include <linux/ioport.h>
@@ -521,9 +519,6 @@ static struct i2c_adapter i2c_adap_template = {
static struct i2c_client i2c_client_template = {
.name = "usbvision internal",
-#if LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,15)
- .flags = I2C_CLIENT_ALLOW_USE,
-#endif
};
/*