Commit 4cb6409b authored by Vivien Didelot's avatar Vivien Didelot Committed by Guenter Roeck

hwmon: (max197) add include guard

Add include guard to include/linux/platform_data/max197.h to prevent
multiple inclusion.
Signed-off-by: default avatarVivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent f5776cc3
...@@ -11,6 +11,9 @@ ...@@ -11,6 +11,9 @@
* For further information, see the Documentation/hwmon/max197 file. * For further information, see the Documentation/hwmon/max197 file.
*/ */
#ifndef _PDATA_MAX197_H
#define _PDATA_MAX197_H
/** /**
* struct max197_platform_data - MAX197 connectivity info * struct max197_platform_data - MAX197 connectivity info
* @convert: Function used to start a conversion with control byte ctrl. * @convert: Function used to start a conversion with control byte ctrl.
...@@ -19,3 +22,5 @@ ...@@ -19,3 +22,5 @@
struct max197_platform_data { struct max197_platform_data {
int (*convert)(u8 ctrl); int (*convert)(u8 ctrl);
}; };
#endif /* _PDATA_MAX197_H */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment