summaryrefslogtreecommitdiffstats
path: root/drivers/iio/pressure/bmp280-i2c.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/pressure/bmp280-i2c.c')
-rw-r--r--drivers/iio/pressure/bmp280-i2c.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/iio/pressure/bmp280-i2c.c b/drivers/iio/pressure/bmp280-i2c.c
index 7c70ee172bba..8cf8a900bdaa 100644
--- a/drivers/iio/pressure/bmp280-i2c.c
+++ b/drivers/iio/pressure/bmp280-i2c.c
@@ -33,7 +33,8 @@ static int bmp280_i2c_probe(struct i2c_client *client,
return bmp280_common_probe(&client->dev,
regmap,
id->driver_data,
- id->name);
+ id->name,
+ client->irq);
}
static int bmp280_i2c_remove(struct i2c_client *client)