From: Roberta Dobrescu Date: Thu, 26 Feb 2015 08:49:23 +0000 (+0200) Subject: staging: iio: Documentation: iio_event_monitor: Include linux/iio/types.h X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=95763859c0205417cf94966f87c3839e54a8005d;p=linux-beck.git 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 Signed-off-by: Jonathan Cameron --- diff --git a/drivers/staging/iio/Documentation/iio_event_monitor.c b/drivers/staging/iio/Documentation/iio_event_monitor.c index 72c96aa6e992..019a6e5cdcd8 100644 --- a/drivers/staging/iio/Documentation/iio_event_monitor.c +++ b/drivers/staging/iio/Documentation/iio_event_monitor.c @@ -28,6 +28,7 @@ #include #include "iio_utils.h" #include +#include static const char * const iio_chan_type_name_spec[] = { [IIO_VOLTAGE] = "voltage",