[ar71xx] fix GPIO function select bit definitions (based on a patch by Jonas <jmajau...
[openwrt.git] / target / linux / generic-2.6 / patches-2.6.27 / 091-ds1672_missing_id_table.patch
1 --- a/drivers/rtc/rtc-ds1672.c
2 +++ b/drivers/rtc/rtc-ds1672.c
3 @@ -209,12 +209,18 @@ static int ds1672_probe(struct i2c_clien
4 return err;
5 }
6
7 +static struct i2c_device_id ds1672_id[] = {
8 + { "ds1672", 0 },
9 + { }
10 +};
11 +
12 static struct i2c_driver ds1672_driver = {
13 .driver = {
14 .name = "rtc-ds1672",
15 },
16 .probe = &ds1672_probe,
17 .remove = &ds1672_remove,
18 + .id_table = ds1672_id,
19 };
20
21 static int __init ds1672_init(void)
This page took 0.050363 seconds and 5 git commands to generate.