]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/rtc/rtc-ds1374.c
i2c: Add support for device alias names
[linux-2.6-omap-h63xx.git] / drivers / rtc / rtc-ds1374.c
index 45bda186befc2e1bfaf8bc3ff71f7cf02eec1d6a..104dcfd5d9a821d167f30c2c1692799dc8b2c885 100644 (file)
@@ -355,7 +355,8 @@ static const struct rtc_class_ops ds1374_rtc_ops = {
        .ioctl = ds1374_ioctl,
 };
 
-static int ds1374_probe(struct i2c_client *client)
+static int ds1374_probe(struct i2c_client *client,
+                       const struct i2c_device_id *id)
 {
        struct ds1374 *ds1374;
        int ret;