Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

hwmon: (max197) add include guard

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

Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>

authored by

Vivien Didelot and committed by
Guenter Roeck
4cb6409b f5776cc3

+5
+5
include/linux/platform_data/max197.h
··· 11 11 * For further information, see the Documentation/hwmon/max197 file. 12 12 */ 13 13 14 + #ifndef _PDATA_MAX197_H 15 + #define _PDATA_MAX197_H 16 + 14 17 /** 15 18 * struct max197_platform_data - MAX197 connectivity info 16 19 * @convert: Function used to start a conversion with control byte ctrl. ··· 22 19 struct max197_platform_data { 23 20 int (*convert)(u8 ctrl); 24 21 }; 22 + 23 + #endif /* _PDATA_MAX197_H */