diff options
Diffstat (limited to 'include/linux/iio/common/st_sensors.h')
-rw-r--r-- | include/linux/iio/common/st_sensors.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/linux/iio/common/st_sensors.h b/include/linux/iio/common/st_sensors.h index d029ffac0d69..91d5f684a53a 100644 --- a/include/linux/iio/common/st_sensors.h +++ b/include/linux/iio/common/st_sensors.h | |||
@@ -251,8 +251,6 @@ struct st_sensor_data { | |||
251 | 251 | ||
252 | #ifdef CONFIG_IIO_BUFFER | 252 | #ifdef CONFIG_IIO_BUFFER |
253 | irqreturn_t st_sensors_trigger_handler(int irq, void *p); | 253 | irqreturn_t st_sensors_trigger_handler(int irq, void *p); |
254 | |||
255 | int st_sensors_get_buffer_element(struct iio_dev *indio_dev, u8 *buf); | ||
256 | #endif | 254 | #endif |
257 | 255 | ||
258 | #ifdef CONFIG_IIO_TRIGGER | 256 | #ifdef CONFIG_IIO_TRIGGER |
@@ -280,7 +278,7 @@ int st_sensors_set_enable(struct iio_dev *indio_dev, bool enable); | |||
280 | 278 | ||
281 | int st_sensors_set_axis_enable(struct iio_dev *indio_dev, u8 axis_enable); | 279 | int st_sensors_set_axis_enable(struct iio_dev *indio_dev, u8 axis_enable); |
282 | 280 | ||
283 | void st_sensors_power_enable(struct iio_dev *indio_dev); | 281 | int st_sensors_power_enable(struct iio_dev *indio_dev); |
284 | 282 | ||
285 | void st_sensors_power_disable(struct iio_dev *indio_dev); | 283 | void st_sensors_power_disable(struct iio_dev *indio_dev); |
286 | 284 | ||