diff options
Diffstat (limited to 'drivers/media/video/bt832.c')
-rw-r--r-- | drivers/media/video/bt832.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/media/video/bt832.c b/drivers/media/video/bt832.c index 3ca1d768bfd3..1c3ff5f38a6d 100644 --- a/drivers/media/video/bt832.c +++ b/drivers/media/video/bt832.c | |||
@@ -230,10 +230,10 @@ bt832_command(struct i2c_client *client, unsigned int cmd, void *arg) | |||
230 | /* ----------------------------------------------------------------------- */ | 230 | /* ----------------------------------------------------------------------- */ |
231 | 231 | ||
232 | static struct i2c_driver driver = { | 232 | static struct i2c_driver driver = { |
233 | .owner = THIS_MODULE, | 233 | .driver = { |
234 | .name = "i2c bt832 driver", | 234 | .name = "i2c bt832 driver", |
235 | }, | ||
235 | .id = -1, /* FIXME */ | 236 | .id = -1, /* FIXME */ |
236 | .flags = I2C_DF_NOTIFY, | ||
237 | .attach_adapter = bt832_probe, | 237 | .attach_adapter = bt832_probe, |
238 | .detach_client = bt832_detach, | 238 | .detach_client = bt832_detach, |
239 | .command = bt832_command, | 239 | .command = bt832_command, |
@@ -241,7 +241,6 @@ static struct i2c_driver driver = { | |||
241 | static struct i2c_client client_template = | 241 | static struct i2c_client client_template = |
242 | { | 242 | { |
243 | .name = "bt832", | 243 | .name = "bt832", |
244 | .flags = I2C_CLIENT_ALLOW_USE, | ||
245 | .driver = &driver, | 244 | .driver = &driver, |
246 | }; | 245 | }; |
247 | 246 | ||