]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/i2c/chips/tsl2550.c
i2c: Add support for device alias names
[linux-2.6-omap-h63xx.git] / drivers / i2c / chips / tsl2550.c
index a10fd2791a69ab938eb214bd2376a02c76749959..59c2c662cc45ce2c07a8888d5711034d8cf6f08c 100644 (file)
@@ -364,7 +364,8 @@ static int tsl2550_init_client(struct i2c_client *client)
  */
 
 static struct i2c_driver tsl2550_driver;
-static int __devinit tsl2550_probe(struct i2c_client *client)
+static int __devinit tsl2550_probe(struct i2c_client *client,
+                                  const struct i2c_device_id *id)
 {
        struct i2c_adapter *adapter = to_i2c_adapter(client->dev.parent);
        struct tsl2550_data *data;