From: Jonathan Cameron <jic23@kernel.org>
To: Lars-Peter Clausen <lars@metafoo.de>
Cc: Jonathan Cameron <jic23@cam.ac.uk>, linux-iio@vger.kernel.org
Subject: Re: [PATCH 3/3] iio:trigger_consumer.h: Add missing includes and forward declarations
Date: Mon, 27 Aug 2012 18:47:23 +0100 [thread overview]
Message-ID: <503BB2AB.6040904@kernel.org> (raw)
In-Reply-To: <1345219066-5338-3-git-send-email-lars@metafoo.de>
On 08/17/2012 04:57 PM, Lars-Peter Clausen wrote:
> Add includes and forward declarations for types used in this file. This avoids
> compile errors if the other files have not been included before.
>
> Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
merged to togreg
> ---
> include/linux/iio/trigger_consumer.h | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/include/linux/iio/trigger_consumer.h b/include/linux/iio/trigger_consumer.h
> index 762a3d3..c4f8c74 100644
> --- a/include/linux/iio/trigger_consumer.h
> +++ b/include/linux/iio/trigger_consumer.h
> @@ -10,6 +10,12 @@
> #ifndef __LINUX_IIO_TRIGGER_CONSUMER_H__
> #define __LINUX_IIO_TRIGGER_CONSUMER_H__
>
> +#include <linux/interrupt.h>
> +#include <linux/types.h>
> +
> +struct iio_dev;
> +struct iio_trigger;
> +
> /**
> * struct iio_poll_func - poll function pair
> *
>
next prev parent reply other threads:[~2012-08-27 17:47 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-17 15:57 [PATCH 1/3] iio:consumer.h: Fix include guard Lars-Peter Clausen
2012-08-17 15:57 ` [PATCH 2/3] iio: Add missing include guards to headers Lars-Peter Clausen
2012-08-27 17:47 ` Jonathan Cameron
2012-08-17 15:57 ` [PATCH 3/3] iio:trigger_consumer.h: Add missing includes and forward declarations Lars-Peter Clausen
2012-08-27 17:47 ` Jonathan Cameron [this message]
2012-08-27 17:47 ` [PATCH 1/3] iio:consumer.h: Fix include guard Jonathan Cameron
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=503BB2AB.6040904@kernel.org \
--to=jic23@kernel.org \
--cc=jic23@cam.ac.uk \
--cc=lars@metafoo.de \
--cc=linux-iio@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.