summaryrefslogtreecommitdiff
path: root/drivers/i2c/chips/menelaus.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/i2c/chips/menelaus.c')
-rw-r--r--drivers/i2c/chips/menelaus.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/i2c/chips/menelaus.c b/drivers/i2c/chips/menelaus.c
index 2dea0123a958..3b8ba7e75843 100644
--- a/drivers/i2c/chips/menelaus.c
+++ b/drivers/i2c/chips/menelaus.c
@@ -1149,7 +1149,8 @@ static inline void menelaus_rtc_init(struct menelaus_chip *m)
static struct i2c_driver menelaus_i2c_driver;
-static int menelaus_probe(struct i2c_client *client)
+static int menelaus_probe(struct i2c_client *client,
+ const struct i2c_device_id *id)
{
struct menelaus_chip *menelaus;
int rev = 0, val;