Re: [PATCH] iio: Drop duplicate forward declaration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 10 Oct 2017 18:15:34 +0200
Lukas Wunner <lukas@xxxxxxxxx> 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@xxxxxxxxxx>
> Signed-off-by: Lukas Wunner <lukas@xxxxxxxxx>
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

--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux