Skip to contentSkip to conversation

thermal: Fix improper clock_cooling header guard

PATCH In review Waldemar Rymarkiewicz 1 participant 2 messages Jun 8, 2017 – Jun 28, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 thermal: Fix improper clock_cooling header guard

Most likely copy-paste mistake, so replace __CPU_COOLING_H__ header guard with more suitable __CLOCK_COOLING_H__.

---
 include/linux/clock_cooling.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
include/linux/clock_cooling.h +3 -3
index 4d1019d56f7f..8cee7b281e96 100644
@@ -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.13.0
#1 lore raw
Quoted 7 lines · Waldemar Rymarkiewicz

Most likely copy-paste mistake, so replace __CPU_COOLING_H__ header guard with more suitable __CLOCK_COOLING_H__.

---
 include/linux/clock_cooling.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

+ linux-pm and thermal people

/Waldek