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,
static struct i2c_driver i2c_driver_videotext =
{
IF_NAME, /* name */
I2C_DRIVERID_SAA5249, /* in i2c.h */
I2C_DF_NOTIFY,
saa5249_probe,
saa5249_detach,
saa5249_command
.owner = THIS_MODULE,
.name = IF_NAME, /* name */
.id = I2C_DRIVERID_SAA5249, /* in i2c.h */
.flags = I2C_DF_NOTIFY,
.attach_adapter = saa5249_probe,
.detach_client = saa5249_detach,
.command = saa5249_command
};
static struct i2c_client client_template = {
"(unset)",
-1,
0,
0,
NULL,
&i2c_driver_videotext
.name = "(unset)",
.id = -1,
.driver = &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