]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/rtc/rtc-m41t80.c
i2c: Add support for device alias names
[linux-2.6-omap-h63xx.git] / drivers / rtc / rtc-m41t80.c
index 1cb33cac12377095fc075e07e4341306dcda4bcc..2ee0d070095aea36f1f6ca339c195e5e638cd093 100644 (file)
@@ -756,7 +756,8 @@ static struct notifier_block wdt_notifier = {
  *
  *****************************************************************************
  */
-static int m41t80_probe(struct i2c_client *client)
+static int m41t80_probe(struct i2c_client *client,
+                       const struct i2c_device_id *id)
 {
        int i, rc = 0;
        struct rtc_device *rtc = NULL;