rtc: fix missing id_table in rtc-ds1672 and rtc-max6900 drivers

Add missing id_table to the drivers in subject. Patch is against the
latest git. It should go in with 2.6.28 if possible, the drivers won't
work without the id_table bits.

Signed-off-by: Alessandro Zummo <a.zummo@towertech.it>
Reported-by: Imre Kaloz <kaloz@openwrt.org>
Tested-by: Imre Kaloz <kaloz@openwrt.org>
Cc: David Brownell <david-b@pacbell.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Alessandro Zummo and committed by
Linus Torvalds
fe102c71 fbb5b7ae

+12
+6
drivers/rtc/rtc-ds1672.c
··· 209 209 return err; 210 210 } 211 211 212 + static struct i2c_device_id ds1672_id[] = { 213 + { "ds1672", 0 }, 214 + { } 215 + }; 216 + 212 217 static struct i2c_driver ds1672_driver = { 213 218 .driver = { 214 219 .name = "rtc-ds1672", 215 220 }, 216 221 .probe = &ds1672_probe, 217 222 .remove = &ds1672_remove, 223 + .id_table = ds1672_id, 218 224 }; 219 225 220 226 static int __init ds1672_init(void)
+6
drivers/rtc/rtc-max6900.c
··· 247 247 return 0; 248 248 } 249 249 250 + static struct i2c_device_id max6900_id[] = { 251 + { "max6900", 0 }, 252 + { } 253 + }; 254 + 250 255 static struct i2c_driver max6900_driver = { 251 256 .driver = { 252 257 .name = "rtc-max6900", 253 258 }, 254 259 .probe = max6900_probe, 255 260 .remove = max6900_remove, 261 + .id_table = max6900_id, 256 262 }; 257 263 258 264 static int __init max6900_init(void)