mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-24 13:13:57 +08:00
hwmon: (sht15) add include guard
Add include guard to include/linux/platform_data/sht15.h to prevent multiple inclusion. Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
This commit is contained in:
parent
4cb6409bbe
commit
ffcc3b2aa1
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user