summaryrefslogtreecommitdiff
path: root/drivers/i2c/chips/ds1682.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/i2c/chips/ds1682.c')
-rw-r--r--drivers/i2c/chips/ds1682.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/i2c/chips/ds1682.c b/drivers/i2c/chips/ds1682.c
index 9e94542c18a2..3070821030e4 100644
--- a/drivers/i2c/chips/ds1682.c
+++ b/drivers/i2c/chips/ds1682.c
@@ -200,7 +200,8 @@ static struct bin_attribute ds1682_eeprom_attr = {
/*
* Called when a ds1682 device is matched with this driver
*/
-static int ds1682_probe(struct i2c_client *client)
+static int ds1682_probe(struct i2c_client *client,
+ const struct i2c_device_id *id)
{
int rc;