提交 ffcc3b2a 编写于 作者: V Vivien Didelot 提交者: Guenter Roeck

hwmon: (sht15) add include guard

Add include guard to include/linux/platform_data/sht15.h to prevent
multiple inclusion.
Signed-off-by: NVivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
上级 4cb6409b
...@@ -12,6 +12,9 @@ ...@@ -12,6 +12,9 @@
* For further information, see the Documentation/hwmon/sht15 file. * For further information, see the Documentation/hwmon/sht15 file.
*/ */
#ifndef _PDATA_SHT15_H
#define _PDATA_SHT15_H
/** /**
* struct sht15_platform_data - sht15 connectivity info * struct sht15_platform_data - sht15 connectivity info
* @gpio_data: no. of gpio to which bidirectional data line is * @gpio_data: no. of gpio to which bidirectional data line is
...@@ -31,3 +34,5 @@ struct sht15_platform_data { ...@@ -31,3 +34,5 @@ struct sht15_platform_data {
bool no_otp_reload; bool no_otp_reload;
bool low_resolution; bool low_resolution;
}; };
#endif /* _PDATA_SHT15_H */
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册