summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberta Dobrescu <roberta.dobrescu@gmail.com>2015-02-26 08:49:23 (GMT)
committerJonathan Cameron <jic23@kernel.org>2015-03-09 17:11:49 (GMT)
commit95763859c0205417cf94966f87c3839e54a8005d (patch)
tree1a15f69500603ca05d8b0e2e1a92e6622da6f0db
parentc7586584c6fd4212e3eb2e83e5cf3c043ddf72be (diff)
downloadlinux-95763859c0205417cf94966f87c3839e54a8005d.tar.xz
staging: iio: Documentation: iio_event_monitor: Include linux/iio/types.h
By adding this line and installing the kernel headers with make headers_install, iio_event_monitor can be compiled without any hacks. Signed-off-by: Roberta Dobrescu <roberta.dobrescu@gmail.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
-rw-r--r--drivers/staging/iio/Documentation/iio_event_monitor.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/iio/Documentation/iio_event_monitor.c b/drivers/staging/iio/Documentation/iio_event_monitor.c
index 72c96aa..019a6e5 100644
--- a/drivers/staging/iio/Documentation/iio_event_monitor.c
+++ b/drivers/staging/iio/Documentation/iio_event_monitor.c
@@ -28,6 +28,7 @@
#include <sys/ioctl.h>
#include "iio_utils.h"
#include <linux/iio/events.h>
+#include <linux/iio/types.h>
static const char * const iio_chan_type_name_spec[] = {
[IIO_VOLTAGE] = "voltage",