linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Roberta Dobrescu <roberta.dobrescu@gmail.com>
To: linux-iio@vger.kernel.org
Cc: daniel.baluta@intel.com, octavian.purdila@intel.com,
	jic23@kernel.org, knaack.h@gmx.de, lars@metafoo.de,
	pmeerw@pmeerw.net, Roberta Dobrescu <roberta.dobrescu@gmail.com>
Subject: [PATCH 1/5] staging: iio: Documentation: iio_event_monitor: Include linux/iio/types.h
Date: Thu, 26 Feb 2015 10:49:23 +0200	[thread overview]
Message-ID: <1424940567-24877-2-git-send-email-roberta.dobrescu@gmail.com> (raw)
In-Reply-To: <1424940567-24877-1-git-send-email-roberta.dobrescu@gmail.com>

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>
---
 drivers/staging/iio/Documentation/iio_event_monitor.c | 1 +
 1 file changed, 1 insertion(+)

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",
-- 
1.9.1

  reply	other threads:[~2015-02-26  8:49 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-26  8:49 [PATCH 0/5] iio: Move iio userspace applications out of staging Roberta Dobrescu
2015-02-26  8:49 ` Roberta Dobrescu [this message]
2015-03-09 17:12   ` [PATCH 1/5] staging: iio: Documentation: iio_event_monitor: Include linux/iio/types.h Jonathan Cameron
2015-02-26  8:49 ` [PATCH 2/5] staging: iio: Documentation: Introduce iio_utils.c Roberta Dobrescu
2015-03-09 17:14   ` Jonathan Cameron
2015-02-26  8:49 ` [PATCH 3/5] iio: Move iio userspace applications out of staging Roberta Dobrescu
2015-03-09 17:16   ` Jonathan Cameron
2015-05-02 23:21   ` Hartmut Knaack
2015-05-12 19:44     ` Jonathan Cameron
2015-02-26  8:49 ` [PATCH 4/5] tools: iio: Define _GNU_SOURCE in Makefile Roberta Dobrescu
2015-03-09 17:18   ` Jonathan Cameron
2015-02-26  8:49 ` [PATCH 5/5] tools: iio: lsiio: Remove unused variables Roberta Dobrescu
2015-03-09 17:23   ` Jonathan Cameron
2015-03-10 16:03     ` Roberta Dobrescu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1424940567-24877-2-git-send-email-roberta.dobrescu@gmail.com \
    --to=roberta.dobrescu@gmail.com \
    --cc=daniel.baluta@intel.com \
    --cc=jic23@kernel.org \
    --cc=knaack.h@gmx.de \
    --cc=lars@metafoo.de \
    --cc=linux-iio@vger.kernel.org \
    --cc=octavian.purdila@intel.com \
    --cc=pmeerw@pmeerw.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).