Commit a8d41f1d authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] Make drivers/media/video/saa7110.c compile

Patch from: Frank Davis <fdavis@si.rr.com>

The following patch addresses bugzilla bug # 341.
parent 553a2a58
...@@ -381,20 +381,18 @@ int saa7110_command(struct i2c_client *client, unsigned int cmd, void *arg) ...@@ -381,20 +381,18 @@ int saa7110_command(struct i2c_client *client, unsigned int cmd, void *arg)
static struct i2c_driver i2c_driver_saa7110 = static struct i2c_driver i2c_driver_saa7110 =
{ {
IF_NAME, /* name */ .owner = THIS_MODULE,
I2C_DRIVERID_SAA7110, /* in i2c.h */ .name = IF_NAME, /* name */
I2C_DF_NOTIFY, /* Addr range */ .id = I2C_DRIVERID_SAA7110, /* in i2c.h */
saa7110_probe, .flags = I2C_DF_NOTIFY, /* Addr range */
saa7110_detach, .attach_adapter = saa7110_probe,
saa7110_command .detach_client = saa7110_detach,
.command = saa7110_command
}; };
static struct i2c_client client_template = { static struct i2c_client client_template = {
"saa7110_client", .name = "saa7110_client",
-1, .id = -1,
0, .driver = &i2c_driver_saa7110
0,
NULL,
&i2c_driver_saa7110
}; };
static int saa7110_init(void) static int saa7110_init(void)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment