From 0585e6c3f746da146717fef6805caa7566188d0c Mon Sep 17 00:00:00 2001 From: Alessandro Zummo Date: Tue, 9 Dec 2008 13:14:11 -0800 Subject: [PATCH] --- yaml --- r: 119807 b: refs/heads/master c: fe102c71a65a503646bcc94ccb6859da613c2f4f h: refs/heads/master i: 119805: 0acd466b38ffb36f8a80fbb1d60b9aebb48c6a28 119803: 9b26c42ad2910e81fedeab29db2620ac27326059 119799: 89dfbd4cdb2029c8354fe90a113e58fa91ee7b53 119791: 095b81a6be513a28b70c07ba675a8c9be88dbbd4 119775: 8ef89cbcd457bca449c005b02748cca92eedca5d 119743: a13ffbe0369010a4795b3d30fd102b60753a8942 119679: 056b0be904f9bf367402bf698c60eb6f66aaaa70 119551: 1e77bd68c225ef8ab33bbc173dc980cf8b8d31d0 119295: 94b6e5abecc95c93db87f64c8205b503b5e959ff 118783: e9cfd9d0e9c7c1ce7a6051b7a72d180d1d5e5070 v: v3 --- [refs] | 2 +- trunk/drivers/rtc/rtc-ds1672.c | 6 ++++++ trunk/drivers/rtc/rtc-max6900.c | 6 ++++++ 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 73fb378b1c89..aff15f09c7b8 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: fbb5b7ae4b442f1923513dc6165a66c7a7f29073 +refs/heads/master: fe102c71a65a503646bcc94ccb6859da613c2f4f diff --git a/trunk/drivers/rtc/rtc-ds1672.c b/trunk/drivers/rtc/rtc-ds1672.c index 341d7a5b45a2..4e91419e8911 100644 --- a/trunk/drivers/rtc/rtc-ds1672.c +++ b/trunk/drivers/rtc/rtc-ds1672.c @@ -209,12 +209,18 @@ static int ds1672_probe(struct i2c_client *client, return err; } +static struct i2c_device_id ds1672_id[] = { + { "ds1672", 0 }, + { } +}; + static struct i2c_driver ds1672_driver = { .driver = { .name = "rtc-ds1672", }, .probe = &ds1672_probe, .remove = &ds1672_remove, + .id_table = ds1672_id, }; static int __init ds1672_init(void) diff --git a/trunk/drivers/rtc/rtc-max6900.c b/trunk/drivers/rtc/rtc-max6900.c index 80782798763f..a4f6665ab3c5 100644 --- a/trunk/drivers/rtc/rtc-max6900.c +++ b/trunk/drivers/rtc/rtc-max6900.c @@ -247,12 +247,18 @@ max6900_probe(struct i2c_client *client, const struct i2c_device_id *id) return 0; } +static struct i2c_device_id max6900_id[] = { + { "max6900", 0 }, + { } +}; + static struct i2c_driver max6900_driver = { .driver = { .name = "rtc-max6900", }, .probe = max6900_probe, .remove = max6900_remove, + .id_table = max6900_id, }; static int __init max6900_init(void)