linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] linux/clock_cooling.h: use unique include guard
@ 2015-10-12 21:38 Rasmus Villemoes
  0 siblings, 0 replies; only message in thread
From: Rasmus Villemoes @ 2015-10-12 21:38 UTC (permalink / raw)
  To: Eduardo Valentin; +Cc: Rasmus Villemoes, linux-kernel

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 <linux@rasmusvillemoes.dk>
---
 include/linux/clock_cooling.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/include/linux/clock_cooling.h b/include/linux/clock_cooling.h
index 4d1019d56f7f..8cee7b281e96 100644
--- a/include/linux/clock_cooling.h
+++ b/include/linux/clock_cooling.h
@@ -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__ */
-- 
2.1.3


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2015-10-12 21:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-12 21:38 [PATCH] linux/clock_cooling.h: use unique include guard Rasmus Villemoes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).