[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-iio
Subject: Re: [PATCH 3/3] iio:trigger_consumer.h: Add missing includes and forward declarations
From: Jonathan Cameron <jic23 () kernel ! org>
Date: 2012-08-27 17:47:23
Message-ID: 503BB2AB.6040904 () kernel ! org
[Download RAW message or body]
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
> *
>
--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic