summaryrefslogtreecommitdiffstats
path: root/drivers/i2c/i2c-sensor-detect.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/i2c/i2c-sensor-detect.c')
-rw-r--r--drivers/i2c/i2c-sensor-detect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/i2c-sensor-detect.c b/drivers/i2c/i2c-sensor-detect.c
index c952926c148..70fcf728198 100644
--- a/drivers/i2c/i2c-sensor-detect.c
+++ b/drivers/i2c/i2c-sensor-detect.c
@@ -28,7 +28,7 @@ static unsigned short empty[] = {I2C_CLIENT_END};
/* Won't work for 10-bit addresses! */
int i2c_detect(struct i2c_adapter *adapter,
- struct i2c_address_data *address_data,
+ struct i2c_client_address_data *address_data,
int (*found_proc) (struct i2c_adapter *, int, int))
{
int addr, i, found, j, err;