]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/rtc/rtc-x1205.c
i2c: Add support for device alias names
[linux-2.6-omap-h63xx.git] / drivers / rtc / rtc-x1205.c
index 095282f635236b106b9eb3b51b7a354f39b813ac..b792ad4dcaa9b22cb40d8782261825b7db8d27f5 100644 (file)
@@ -494,7 +494,8 @@ static void x1205_sysfs_unregister(struct device *dev)
 }
 
 
-static int x1205_probe(struct i2c_client *client)
+static int x1205_probe(struct i2c_client *client,
+                       const struct i2c_device_id *id)
 {
        int err = 0;
        unsigned char sr;