summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2012-08-17 15:57:00 (GMT)
committerJonathan Cameron <jic23@kernel.org>2012-08-27 17:57:59 (GMT)
commit161e7f6d136549d6432218f9f42f88dd443a4719 (patch)
treea250c750a464ae3519508dafe6fee67ad435ac4f
parent08d6005c031631429ed307a28503e00e3970c203 (diff)
downloadlinux-161e7f6d136549d6432218f9f42f88dd443a4719.tar.xz
iio:trigger_consumer.h: Add missing includes and forward declarations
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>
-rw-r--r--include/linux/iio/trigger_consumer.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/iio/trigger_consumer.h b/include/linux/iio/trigger_consumer.h
index 762a3d3..c4f8c74 100644
--- a/include/linux/iio/trigger_consumer.h
+++ b/include/linux/iio/trigger_consumer.h
@@ -10,6 +10,12 @@
#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
*