All of lore.kernel.org
 help / color / mirror / Atom feed
* [lm-sensors] [PATCH] hwmon: (max197) add include guard
@ 2014-01-10 21:44 ` Vivien Didelot
  0 siblings, 0 replies; 8+ messages in thread
From: Vivien Didelot @ 2014-01-10 21:44 UTC (permalink / raw)
  To: lm-sensors
  Cc: Vivien Didelot, Guenter Roeck, Jean Delvare, linux-kernel, kernel

Add include guard to include/linux/platform_data/max197.h to prevent
multiple inclusion.

Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
---
 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 */
-- 
1.8.5.2


_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

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

* [PATCH] hwmon: (max197) add include guard
@ 2014-01-10 21:44 ` Vivien Didelot
  0 siblings, 0 replies; 8+ messages in thread
From: Vivien Didelot @ 2014-01-10 21:44 UTC (permalink / raw)
  To: lm-sensors
  Cc: Vivien Didelot, Guenter Roeck, Jean Delvare, linux-kernel, kernel

Add include guard to include/linux/platform_data/max197.h to prevent
multiple inclusion.

Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
---
 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 */
-- 
1.8.5.2


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

* [lm-sensors] [PATCH] hwmon: (sht15) add include guard
  2014-01-10 21:44 ` Vivien Didelot
@ 2014-01-10 21:44   ` Vivien Didelot
  -1 siblings, 0 replies; 8+ messages in thread
From: Vivien Didelot @ 2014-01-10 21:44 UTC (permalink / raw)
  To: lm-sensors
  Cc: Vivien Didelot, Guenter Roeck, Jean Delvare, linux-kernel, kernel

Add include guard to include/linux/platform_data/sht15.h to prevent
multiple inclusion.

Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
---
 include/linux/platform_data/sht15.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/include/linux/platform_data/sht15.h b/include/linux/platform_data/sht15.h
index 33e0fd2..12289c1 100644
--- a/include/linux/platform_data/sht15.h
+++ b/include/linux/platform_data/sht15.h
@@ -12,6 +12,9 @@
  * For further information, see the Documentation/hwmon/sht15 file.
  */
 
+#ifndef _PDATA_SHT15_H
+#define _PDATA_SHT15_H
+
 /**
  * struct sht15_platform_data - sht15 connectivity info
  * @gpio_data:		no. of gpio to which bidirectional data line is
@@ -31,3 +34,5 @@ struct sht15_platform_data {
 	bool no_otp_reload;
 	bool low_resolution;
 };
+
+#endif /* _PDATA_SHT15_H */
-- 
1.8.5.2


_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

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

* [PATCH] hwmon: (sht15) add include guard
@ 2014-01-10 21:44   ` Vivien Didelot
  0 siblings, 0 replies; 8+ messages in thread
From: Vivien Didelot @ 2014-01-10 21:44 UTC (permalink / raw)
  To: lm-sensors
  Cc: Vivien Didelot, Guenter Roeck, Jean Delvare, linux-kernel, kernel

Add include guard to include/linux/platform_data/sht15.h to prevent
multiple inclusion.

Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
---
 include/linux/platform_data/sht15.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/include/linux/platform_data/sht15.h b/include/linux/platform_data/sht15.h
index 33e0fd2..12289c1 100644
--- a/include/linux/platform_data/sht15.h
+++ b/include/linux/platform_data/sht15.h
@@ -12,6 +12,9 @@
  * For further information, see the Documentation/hwmon/sht15 file.
  */
 
+#ifndef _PDATA_SHT15_H
+#define _PDATA_SHT15_H
+
 /**
  * struct sht15_platform_data - sht15 connectivity info
  * @gpio_data:		no. of gpio to which bidirectional data line is
@@ -31,3 +34,5 @@ struct sht15_platform_data {
 	bool no_otp_reload;
 	bool low_resolution;
 };
+
+#endif /* _PDATA_SHT15_H */
-- 
1.8.5.2


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

* Re: [lm-sensors] [PATCH] hwmon: (max197) add include guard
  2014-01-10 21:44 ` Vivien Didelot
@ 2014-01-10 23:09   ` Guenter Roeck
  -1 siblings, 0 replies; 8+ messages in thread
From: Guenter Roeck @ 2014-01-10 23:09 UTC (permalink / raw)
  To: Vivien Didelot, lm-sensors; +Cc: Jean Delvare, linux-kernel, kernel

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

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

* Re: [PATCH] hwmon: (max197) add include guard
@ 2014-01-10 23:09   ` Guenter Roeck
  0 siblings, 0 replies; 8+ messages in thread
From: Guenter Roeck @ 2014-01-10 23:09 UTC (permalink / raw)
  To: Vivien Didelot, lm-sensors; +Cc: Jean Delvare, linux-kernel, kernel

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 */
>


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

* Re: [lm-sensors] [PATCH] hwmon: (sht15) add include guard
  2014-01-10 21:44   ` Vivien Didelot
@ 2014-01-10 23:09     ` Guenter Roeck
  -1 siblings, 0 replies; 8+ messages in thread
From: Guenter Roeck @ 2014-01-10 23:09 UTC (permalink / raw)
  To: Vivien Didelot, lm-sensors; +Cc: Jean Delvare, linux-kernel, kernel

On 01/10/2014 01:44 PM, Vivien Didelot wrote:
> Add include guard to include/linux/platform_data/sht15.h to prevent
> multiple inclusion.
>
> Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
> ---

Applied to hwmon-next.

Thanks,
Guenter

>   include/linux/platform_data/sht15.h | 5 +++++
>   1 file changed, 5 insertions(+)
>
> diff --git a/include/linux/platform_data/sht15.h b/include/linux/platform_data/sht15.h
> index 33e0fd2..12289c1 100644
> --- a/include/linux/platform_data/sht15.h
> +++ b/include/linux/platform_data/sht15.h
> @@ -12,6 +12,9 @@
>    * For further information, see the Documentation/hwmon/sht15 file.
>    */
>
> +#ifndef _PDATA_SHT15_H
> +#define _PDATA_SHT15_H
> +
>   /**
>    * struct sht15_platform_data - sht15 connectivity info
>    * @gpio_data:		no. of gpio to which bidirectional data line is
> @@ -31,3 +34,5 @@ struct sht15_platform_data {
>   	bool no_otp_reload;
>   	bool low_resolution;
>   };
> +
> +#endif /* _PDATA_SHT15_H */
>


_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

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

* Re: [PATCH] hwmon: (sht15) add include guard
@ 2014-01-10 23:09     ` Guenter Roeck
  0 siblings, 0 replies; 8+ messages in thread
From: Guenter Roeck @ 2014-01-10 23:09 UTC (permalink / raw)
  To: Vivien Didelot, lm-sensors; +Cc: Jean Delvare, linux-kernel, kernel

On 01/10/2014 01:44 PM, Vivien Didelot wrote:
> Add include guard to include/linux/platform_data/sht15.h to prevent
> multiple inclusion.
>
> Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
> ---

Applied to hwmon-next.

Thanks,
Guenter

>   include/linux/platform_data/sht15.h | 5 +++++
>   1 file changed, 5 insertions(+)
>
> diff --git a/include/linux/platform_data/sht15.h b/include/linux/platform_data/sht15.h
> index 33e0fd2..12289c1 100644
> --- a/include/linux/platform_data/sht15.h
> +++ b/include/linux/platform_data/sht15.h
> @@ -12,6 +12,9 @@
>    * For further information, see the Documentation/hwmon/sht15 file.
>    */
>
> +#ifndef _PDATA_SHT15_H
> +#define _PDATA_SHT15_H
> +
>   /**
>    * struct sht15_platform_data - sht15 connectivity info
>    * @gpio_data:		no. of gpio to which bidirectional data line is
> @@ -31,3 +34,5 @@ struct sht15_platform_data {
>   	bool no_otp_reload;
>   	bool low_resolution;
>   };
> +
> +#endif /* _PDATA_SHT15_H */
>


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

end of thread, other threads:[~2014-01-10 23:09 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 ` [lm-sensors] [PATCH] hwmon: (max197) " Guenter Roeck
2014-01-10 23:09   ` Guenter Roeck

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.