]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
iio:trigger_consumer.h: Add missing includes and forward declarations
authorLars-Peter Clausen <lars@metafoo.de>
Fri, 17 Aug 2012 15:57:00 +0000 (16:57 +0100)
committerJonathan Cameron <jic23@kernel.org>
Mon, 27 Aug 2012 17:57:59 +0000 (18:57 +0100)
Add includes and forward declarations for types used in this file. This avoids
compile errors if the other files have not been included before.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
include/linux/iio/trigger_consumer.h

index 762a3d3ee5470cdd767f0ae45dffc4d796c59e74..c4f8c7409666e39f541d17316f06d83f2d2a59c4 100644 (file)
 #ifndef __LINUX_IIO_TRIGGER_CONSUMER_H__
 #define __LINUX_IIO_TRIGGER_CONSUMER_H__
 
+#include <linux/interrupt.h>
+#include <linux/types.h>
+
+struct iio_dev;
+struct iio_trigger;
+
 /**
  * struct iio_poll_func - poll function pair
  *