staging: iio: Documentation: iio_event_monitor: Include linux/iio/types.h
authorRoberta Dobrescu <roberta.dobrescu@gmail.com>
Thu, 26 Feb 2015 08:49:23 +0000 (10:49 +0200)
committerJonathan Cameron <jic23@kernel.org>
Mon, 9 Mar 2015 17:11:49 +0000 (17:11 +0000)
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>
drivers/staging/iio/Documentation/iio_event_monitor.c

index 72c96aa6e9929c4f32bf000b7b067279898264ac..019a6e5cdcd806e58ed35a2da503b6c144adb9f5 100644 (file)
@@ -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",