Commit 95763859 authored by Roberta Dobrescu's avatar Roberta Dobrescu Committed by Jonathan Cameron

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: default avatarRoberta Dobrescu <roberta.dobrescu@gmail.com>
Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
parent c7586584
...@@ -28,6 +28,7 @@ ...@@ -28,6 +28,7 @@
#include <sys/ioctl.h> #include <sys/ioctl.h>
#include "iio_utils.h" #include "iio_utils.h"
#include <linux/iio/events.h> #include <linux/iio/events.h>
#include <linux/iio/types.h>
static const char * const iio_chan_type_name_spec[] = { static const char * const iio_chan_type_name_spec[] = {
[IIO_VOLTAGE] = "voltage", [IIO_VOLTAGE] = "voltage",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment