diff options
-rw-r--r-- | drivers/hwmon/ads1015.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/ads1015.c b/drivers/hwmon/ads1015.c index c21b0529adb2..412ab7015d75 100644 --- a/drivers/hwmon/ads1015.c +++ b/drivers/hwmon/ads1015.c | |||
@@ -307,7 +307,7 @@ static const struct i2c_device_id ads1015_id[] = { | |||
307 | }; | 307 | }; |
308 | MODULE_DEVICE_TABLE(i2c, ads1015_id); | 308 | MODULE_DEVICE_TABLE(i2c, ads1015_id); |
309 | 309 | ||
310 | static const struct of_device_id ads1015_of_match[] = { | 310 | static const struct of_device_id __maybe_unused ads1015_of_match[] = { |
311 | { | 311 | { |
312 | .compatible = "ti,ads1015", | 312 | .compatible = "ti,ads1015", |
313 | .data = (void *)ads1015 | 313 | .data = (void *)ads1015 |