From: Guenter Roeck <linux@roeck-us.net>
To: Vivien Didelot <vivien.didelot@savoirfairelinux.com>,
lm-sensors@lm-sensors.org
Cc: Jean Delvare <khali@linux-fr.org>,
linux-kernel@vger.kernel.org, kernel@savoirfairelinux.com
Subject: Re: [lm-sensors] [PATCH] hwmon: (max197) add include guard
Date: Fri, 10 Jan 2014 23:09:33 +0000 [thread overview]
Message-ID: <52D07DAD.30105@roeck-us.net> (raw)
In-Reply-To: <1389390286-6287-1-git-send-email-vivien.didelot@savoirfairelinux.com>
On 01/10/2014 01:44 PM, Vivien Didelot wrote:
> Add include guard to include/linux/platform_data/max197.h to prevent
> multiple inclusion.
>
> Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
> ---
Applied to hwmon-next.
Thanks,
Guenter
> include/linux/platform_data/max197.h | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/include/linux/platform_data/max197.h b/include/linux/platform_data/max197.h
> index e2a41dd..8da8f94 100644
> --- a/include/linux/platform_data/max197.h
> +++ b/include/linux/platform_data/max197.h
> @@ -11,6 +11,9 @@
> * For further information, see the Documentation/hwmon/max197 file.
> */
>
> +#ifndef _PDATA_MAX197_H
> +#define _PDATA_MAX197_H
> +
> /**
> * struct max197_platform_data - MAX197 connectivity info
> * @convert: Function used to start a conversion with control byte ctrl.
> @@ -19,3 +22,5 @@
> struct max197_platform_data {
> int (*convert)(u8 ctrl);
> };
> +
> +#endif /* _PDATA_MAX197_H */
>
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
WARNING: multiple messages have this Message-ID (diff)
From: Guenter Roeck <linux@roeck-us.net>
To: Vivien Didelot <vivien.didelot@savoirfairelinux.com>,
lm-sensors@lm-sensors.org
Cc: Jean Delvare <khali@linux-fr.org>,
linux-kernel@vger.kernel.org, kernel@savoirfairelinux.com
Subject: Re: [PATCH] hwmon: (max197) add include guard
Date: Fri, 10 Jan 2014 15:09:33 -0800 [thread overview]
Message-ID: <52D07DAD.30105@roeck-us.net> (raw)
In-Reply-To: <1389390286-6287-1-git-send-email-vivien.didelot@savoirfairelinux.com>
On 01/10/2014 01:44 PM, Vivien Didelot wrote:
> Add include guard to include/linux/platform_data/max197.h to prevent
> multiple inclusion.
>
> Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
> ---
Applied to hwmon-next.
Thanks,
Guenter
> include/linux/platform_data/max197.h | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/include/linux/platform_data/max197.h b/include/linux/platform_data/max197.h
> index e2a41dd..8da8f94 100644
> --- a/include/linux/platform_data/max197.h
> +++ b/include/linux/platform_data/max197.h
> @@ -11,6 +11,9 @@
> * For further information, see the Documentation/hwmon/max197 file.
> */
>
> +#ifndef _PDATA_MAX197_H
> +#define _PDATA_MAX197_H
> +
> /**
> * struct max197_platform_data - MAX197 connectivity info
> * @convert: Function used to start a conversion with control byte ctrl.
> @@ -19,3 +22,5 @@
> struct max197_platform_data {
> int (*convert)(u8 ctrl);
> };
> +
> +#endif /* _PDATA_MAX197_H */
>
next prev parent reply other threads:[~2014-01-10 23:09 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-10 21:44 [lm-sensors] [PATCH] hwmon: (max197) add include guard Vivien Didelot
2014-01-10 21:44 ` Vivien Didelot
2014-01-10 21:44 ` [lm-sensors] [PATCH] hwmon: (sht15) " Vivien Didelot
2014-01-10 21:44 ` Vivien Didelot
2014-01-10 23:09 ` [lm-sensors] " Guenter Roeck
2014-01-10 23:09 ` Guenter Roeck
2014-01-10 23:09 ` Guenter Roeck [this message]
2014-01-10 23:09 ` [PATCH] hwmon: (max197) " Guenter Roeck
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=52D07DAD.30105@roeck-us.net \
--to=linux@roeck-us.net \
--cc=kernel@savoirfairelinux.com \
--cc=khali@linux-fr.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lm-sensors@lm-sensors.org \
--cc=vivien.didelot@savoirfairelinux.com \
/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.