summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/bt8xx/bt832.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drivers/media/video/bt8xx/bt832.c')
-rw-r--r--linux/drivers/media/video/bt8xx/bt832.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/linux/drivers/media/video/bt8xx/bt832.c b/linux/drivers/media/video/bt8xx/bt832.c
index e860f7725..b677916bf 100644
--- a/linux/drivers/media/video/bt8xx/bt832.c
+++ b/linux/drivers/media/video/bt8xx/bt832.c
@@ -250,17 +250,9 @@ bt832_command(struct i2c_client *client, unsigned int cmd, void *arg)
/* ----------------------------------------------------------------------- */
static struct i2c_driver driver = {
-#if LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,15)
- .owner = THIS_MODULE,
-#endif
-#if LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,15)
- .name = "bt832",
- .flags = I2C_DF_NOTIFY,
-#else
.driver = {
.name = "bt832",
},
-#endif
.id = 0, /* FIXME */
.attach_adapter = bt832_probe,
.detach_client = bt832_detach,
@@ -269,9 +261,6 @@ static struct i2c_driver driver = {
static struct i2c_client client_template =
{
.name = "bt832",
-#if LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,15)
- .flags = I2C_CLIENT_ALLOW_USE,
-#endif
.driver = &driver,
};