Commit 1c686053 authored by Alan Cox's avatar Alan Cox Committed by David Woodhouse

[PATCH] Fix 3036 tuner

parent ccfa4964
...@@ -185,22 +185,20 @@ tuner_probe(struct i2c_adapter *adap) ...@@ -185,22 +185,20 @@ tuner_probe(struct i2c_adapter *adap)
static struct i2c_driver static struct i2c_driver
i2c_driver_tuner = i2c_driver_tuner =
{ {
"sab3036", /* name */ .owner = THIS_MODULE,
I2C_DRIVERID_SAB3036, /* ID */ .name = "sab3036",
I2C_DF_NOTIFY, .id = I2C_DRIVERID_SAB3036,
tuner_probe, .flags = I2C_DF_NOTIFY,
tuner_detach, .attach_adapter = tuner_probe,
tuner_command .detach_client = tuner_detach,
.command = tuner_command
}; };
static struct i2c_client client_template = static struct i2c_client client_template =
{ {
"SAB3036", /* name */ .name = "SAB3036",
-1, .id = -1,
0, .driver = &i2c_driver_tuner
0,
NULL,
&i2c_driver_tuner
}; };
int __init int __init
......
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