diff options
Diffstat (limited to 'drivers/media/video/saa6588.c')
-rw-r--r-- | drivers/media/video/saa6588.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/media/video/saa6588.c b/drivers/media/video/saa6588.c index 923322503e8f..d60a783e0473 100644 --- a/drivers/media/video/saa6588.c +++ b/drivers/media/video/saa6588.c | |||
@@ -495,10 +495,10 @@ static int saa6588_command(struct i2c_client *client, unsigned int cmd, | |||
495 | /* ----------------------------------------------------------------------- */ | 495 | /* ----------------------------------------------------------------------- */ |
496 | 496 | ||
497 | static struct i2c_driver driver = { | 497 | static struct i2c_driver driver = { |
498 | .owner = THIS_MODULE, | 498 | .driver = { |
499 | .name = "i2c saa6588 driver", | 499 | .name = "i2c saa6588 driver", |
500 | }, | ||
500 | .id = -1, /* FIXME */ | 501 | .id = -1, /* FIXME */ |
501 | .flags = I2C_DF_NOTIFY, | ||
502 | .attach_adapter = saa6588_probe, | 502 | .attach_adapter = saa6588_probe, |
503 | .detach_client = saa6588_detach, | 503 | .detach_client = saa6588_detach, |
504 | .command = saa6588_command, | 504 | .command = saa6588_command, |
@@ -506,7 +506,6 @@ static struct i2c_driver driver = { | |||
506 | 506 | ||
507 | static struct i2c_client client_template = { | 507 | static struct i2c_client client_template = { |
508 | .name = "saa6588", | 508 | .name = "saa6588", |
509 | .flags = I2C_CLIENT_ALLOW_USE, | ||
510 | .driver = &driver, | 509 | .driver = &driver, |
511 | }; | 510 | }; |
512 | 511 | ||