Re: [PATCH 1/3] iio:consumer.h: Fix include guard

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

 



On 08/17/2012 04:57 PM, Lars-Peter Clausen wrote:
> The symbol name for the #ifndef and the #define of the include guard do not
> match and thus it becomes quite ineffective. Add the missing '_' to fix this.
> 
> Signed-off-by: Lars-Peter Clausen <lars@xxxxxxxxxx>
merged
> ---
>  include/linux/iio/consumer.h |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/include/linux/iio/consumer.h b/include/linux/iio/consumer.h
> index e2657e6..06ab4ec 100644
> --- a/include/linux/iio/consumer.h
> +++ b/include/linux/iio/consumer.h
> @@ -8,7 +8,7 @@
>   * the Free Software Foundation.
>   */
>  #ifndef _IIO_INKERN_CONSUMER_H_
> -#define _IIO_INKERN_CONSUMER_H
> +#define _IIO_INKERN_CONSUMER_H_
>  #include <linux/iio/types.h>
>  
>  struct iio_dev;
> 
--
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