diff options
author | Jonathan Cameron <jic23@cam.ac.uk> | 2011-05-18 14:41:21 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-05-19 16:14:49 -0700 |
commit | 8384d9573e937949eba96eaa1323253c2687aa5c (patch) | |
tree | 448e388ca8c9dd2229f711f70b91195abaf0360a /drivers/staging/iio/trigger.h | |
parent | e0580032658c3b9c4e1ffca3a60a5c865a44cb36 (diff) | |
download | op-kernel-dev-8384d9573e937949eba96eaa1323253c2687aa5c.zip op-kernel-dev-8384d9573e937949eba96eaa1323253c2687aa5c.tar.gz |
staging:iio: add generic data ready poll function.
This case is extremely common, so let us only have the one
copy.
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/iio/trigger.h')
-rw-r--r-- | drivers/staging/iio/trigger.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/staging/iio/trigger.h b/drivers/staging/iio/trigger.h index 0c44c5ef..8e25c00 100644 --- a/drivers/staging/iio/trigger.h +++ b/drivers/staging/iio/trigger.h @@ -127,6 +127,8 @@ int iio_trigger_dettach_poll_func(struct iio_trigger *trig, void iio_trigger_poll(struct iio_trigger *trig, s64 time); void iio_trigger_notify_done(struct iio_trigger *trig); +irqreturn_t iio_trigger_generic_data_rdy_poll(int irq, void *private); + static inline int iio_trigger_get_irq(struct iio_trigger *trig) { int ret; |