From: Vivien Didelot Date: Fri, 10 Jan 2014 21:44:46 +0000 (-0500) Subject: hwmon: (sht15) add include guard X-Git-Tag: firefly_0821_release~176^2~4655^2~1 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=ffcc3b2aa183b85cd5b5d5313a3bc6243daf0e04;p=firefly-linux-kernel-4.4.55.git hwmon: (sht15) add include guard Add include guard to include/linux/platform_data/sht15.h to prevent multiple inclusion. Signed-off-by: Vivien Didelot Signed-off-by: Guenter Roeck --- diff --git a/include/linux/platform_data/sht15.h b/include/linux/platform_data/sht15.h index 33e0fd27225e..12289c1e9413 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 */