summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/saa6588.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drivers/media/video/saa6588.c')
-rw-r--r--linux/drivers/media/video/saa6588.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/linux/drivers/media/video/saa6588.c b/linux/drivers/media/video/saa6588.c
index 5efa5ab66..ab41d9526 100644
--- a/linux/drivers/media/video/saa6588.c
+++ b/linux/drivers/media/video/saa6588.c
@@ -500,15 +500,9 @@ static int saa6588_command(struct i2c_client *client, unsigned int cmd,
/* ----------------------------------------------------------------------- */
static struct i2c_driver driver = {
-#if LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,15)
- .owner = THIS_MODULE,
- .name = "saa6588",
- .flags = I2C_DF_NOTIFY,
-#else
.driver = {
.name = "saa6588",
},
-#endif
.id = -1, /* FIXME */
.attach_adapter = saa6588_probe,
.detach_client = saa6588_detach,
@@ -517,9 +511,6 @@ static struct i2c_driver driver = {
static struct i2c_client client_template = {
.name = "saa6588",
-#if LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,15)
- .flags = I2C_CLIENT_ALLOW_USE,
-#endif
.driver = &driver,
};