linux/clock_cooling.h: use unique include guard
PATCH 1/1 linux/clock_cooling.h: use unique include guard
Using the same include guard as linux/cpu_cooling.h will cause build breakage if those headers are ever used from the same TU.
Signed-off-by Rasmus Villemoes <[email protected]>
--- include/linux/clock_cooling.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
include/linux/clock_cooling.h +3 -3
@@ -20,8 +20,8 @@* General Public License for more details. */ -#ifndef __CPU_COOLING_H__ -#define __CPU_COOLING_H__ +#ifndef __CLOCK_COOLING_H__ +#define __CLOCK_COOLING_H__#include <linux/of.h> #include <linux/thermal.h>
@@ -62,4 +62,4 @@ unsigned long clock_cooling_get_level(struct thermal_cooling_device *cdev, }#endif /* CONFIG_CLOCK_THERMAL */ -#endif /* __CPU_COOLING_H__ */ +#endif /* __CLOCK_COOLING_H__ */
Signature · 1 line
2.1.3