This source file includes following definitions.
- st_sensors_match_acpi_device
1
2
3
4
5
6
7
8
9
10 #ifndef ST_SENSORS_I2C_H
11 #define ST_SENSORS_I2C_H
12
13 #include <linux/i2c.h>
14 #include <linux/iio/common/st_sensors.h>
15 #include <linux/of.h>
16
17 int st_sensors_i2c_configure(struct iio_dev *indio_dev,
18 struct i2c_client *client);
19
20 #ifdef CONFIG_ACPI
21 int st_sensors_match_acpi_device(struct device *dev);
22 #else
23 static inline int st_sensors_match_acpi_device(struct device *dev)
24 {
25 return -ENODEV;
26 }
27 #endif
28
29 #endif