All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] iio: Drop duplicate forward declaration
@ 2017-10-10 16:15 Lukas Wunner
  2017-10-14 17:29 ` Jonathan Cameron
  0 siblings, 1 reply; 2+ messages in thread
From: Lukas Wunner @ 2017-10-10 16:15 UTC (permalink / raw)
  To: Jonathan Cameron; +Cc: Lars-Peter Clausen, linux-iio

Commit 5f420b42079c ("staging:iio: Add extended IIO channel info") added
a forward declaration for struct iio_dev to <linux/iio/iio.h> but forgot
to remove an existing forward declaration further down originating from
commit 7ae8cf627558 ("staging: iio: chrdev.h rationalization").

Cc: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Lukas Wunner <lukas@wunner.de>
---
 include/linux/iio/iio.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/include/linux/iio/iio.h b/include/linux/iio/iio.h
index 50cae85..20b6134 100644
--- a/include/linux/iio/iio.h
+++ b/include/linux/iio/iio.h
@@ -365,7 +365,6 @@ static inline bool iio_channel_has_available(const struct iio_chan_spec *chan,
 #define INDIO_MAX_RAW_ELEMENTS		4
 
 struct iio_trigger; /* forward declaration */
-struct iio_dev;
 
 /**
  * struct iio_info - constant information about device
-- 
2.11.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] iio: Drop duplicate forward declaration
  2017-10-10 16:15 [PATCH] iio: Drop duplicate forward declaration Lukas Wunner
@ 2017-10-14 17:29 ` Jonathan Cameron
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Cameron @ 2017-10-14 17:29 UTC (permalink / raw)
  To: Lukas Wunner; +Cc: Lars-Peter Clausen, linux-iio

On Tue, 10 Oct 2017 18:15:34 +0200
Lukas Wunner <lukas@wunner.de> wrote:

> Commit 5f420b42079c ("staging:iio: Add extended IIO channel info") added
> a forward declaration for struct iio_dev to <linux/iio/iio.h> but forgot
> to remove an existing forward declaration further down originating from
> commit 7ae8cf627558 ("staging: iio: chrdev.h rationalization").
> 
> Cc: Lars-Peter Clausen <lars@metafoo.de>
> Signed-off-by: Lukas Wunner <lukas@wunner.de>
Applied to the togreg branch of iio.git and pushed out as testing
for the autobuilders to play with it.

Thanks,

Jonathan
> ---
>  include/linux/iio/iio.h | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/include/linux/iio/iio.h b/include/linux/iio/iio.h
> index 50cae85..20b6134 100644
> --- a/include/linux/iio/iio.h
> +++ b/include/linux/iio/iio.h
> @@ -365,7 +365,6 @@ static inline bool iio_channel_has_available(const struct iio_chan_spec *chan,
>  #define INDIO_MAX_RAW_ELEMENTS		4
>  
>  struct iio_trigger; /* forward declaration */
> -struct iio_dev;
>  
>  /**
>   * struct iio_info - constant information about device


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-10-14 17:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-10 16:15 [PATCH] iio: Drop duplicate forward declaration Lukas Wunner
2017-10-14 17:29 ` Jonathan Cameron

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.