projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
08d6005
)
iio:trigger_consumer.h: Add missing includes and forward declarations
author
Lars-Peter Clausen
<lars@metafoo.de>
Fri, 17 Aug 2012 15:57:00 +0000
(16:57 +0100)
committer
Jonathan 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
patch
|
blob
|
history
diff --git
a/include/linux/iio/trigger_consumer.h
b/include/linux/iio/trigger_consumer.h
index 762a3d3ee5470cdd767f0ae45dffc4d796c59e74..c4f8c7409666e39f541d17316f06d83f2d2a59c4 100644
(file)
--- 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
*