From 72b38e3de1e9c9813bfb37ffa23de26e5b703014 Mon Sep 17 00:00:00 2001 From: Jonathan Cameron Date: Wed, 18 May 2011 14:40:59 +0100 Subject: staging:iio: Push interrupt setup down into the drivers for event lines. It is much easier to do in driver, and the core does not add much. Note all drivers will have to be updated with this patch. None currently are. Signed-off-by: Jonathan Cameron Signed-off-by: Greg Kroah-Hartman --- drivers/staging/iio/iio.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'drivers/staging/iio/iio.h') diff --git a/drivers/staging/iio/iio.h b/drivers/staging/iio/iio.h index 7e446391486..cd5ac59c4c2 100644 --- a/drivers/staging/iio/iio.h +++ b/drivers/staging/iio/iio.h @@ -12,6 +12,7 @@ #include #include +#include #include "sysfs.h" #include "chrdev.h" @@ -376,6 +377,8 @@ void iio_unregister_interrupt_line(struct iio_dev *dev_info, int line_number); +/* temporarily exported to allow moving of interrupt requesting into drivers */ +irqreturn_t iio_interrupt_handler(int irq, void *_int_info); /** * iio_push_event() - try to add event to the list for userspace reading -- cgit v1.2.3