Commit 224ebf75 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] drivers/media/video/saa5249.c compile fix

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

The following addresses bugzilla bug # 340.
parent a8d41f1d
...@@ -254,21 +254,19 @@ static int saa5249_command(struct i2c_client *device, ...@@ -254,21 +254,19 @@ static int saa5249_command(struct i2c_client *device,
static struct i2c_driver i2c_driver_videotext = static struct i2c_driver i2c_driver_videotext =
{ {
IF_NAME, /* name */ .owner = THIS_MODULE,
I2C_DRIVERID_SAA5249, /* in i2c.h */ .name = IF_NAME, /* name */
I2C_DF_NOTIFY, .id = I2C_DRIVERID_SAA5249, /* in i2c.h */
saa5249_probe, .flags = I2C_DF_NOTIFY,
saa5249_detach, .attach_adapter = saa5249_probe,
saa5249_command .detach_client = saa5249_detach,
.command = saa5249_command
}; };
static struct i2c_client client_template = { static struct i2c_client client_template = {
"(unset)", .name = "(unset)",
-1, .id = -1,
0, .driver = &i2c_driver_videotext
0,
NULL,
&i2c_driver_videotext
}; };
/* /*
......
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