diff options
author | Mark Brown <broonie@linaro.org> | 2013-10-17 00:16:41 +0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-10-17 00:16:41 +0400 |
commit | 381bd9517a7e611871694689c67901d189cf6a62 (patch) | |
tree | 7f9492cbbb93039ef84722e518e2ca6e8ad0c364 /drivers/iio/iio_core.h | |
parent | 01b9e0418689951c6ae4ba3b221bc42f49eb6407 (diff) | |
parent | f6bd03a746271f298aa5bfb6e049b245757efaed (diff) | |
download | linux-381bd9517a7e611871694689c67901d189cf6a62.tar.xz |
Merge remote-tracking branch 'spi/topic/trivial' into spi-atmel
Conflicts (trivial overlapping cleanups):
drivers/spi/spi-atmel.c
Diffstat (limited to 'drivers/iio/iio_core.h')
-rw-r--r-- | drivers/iio/iio_core.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/iio/iio_core.h b/drivers/iio/iio_core.h index 05c1b74502a3..9b32253b824b 100644 --- a/drivers/iio/iio_core.h +++ b/drivers/iio/iio_core.h @@ -49,11 +49,15 @@ ssize_t iio_buffer_read_first_n_outer(struct file *filp, char __user *buf, #define iio_buffer_poll_addr (&iio_buffer_poll) #define iio_buffer_read_first_n_outer_addr (&iio_buffer_read_first_n_outer) +void iio_disable_all_buffers(struct iio_dev *indio_dev); + #else #define iio_buffer_poll_addr NULL #define iio_buffer_read_first_n_outer_addr NULL +static inline void iio_disable_all_buffers(struct iio_dev *indio_dev) {} + #endif int iio_device_register_eventset(struct iio_dev *indio_dev); |