mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Rasmus Villemoes <linux@rasmusvillemoes.dk>
To: Eduardo Valentin <eduardo.valentin@ti.com>
Cc: Rasmus Villemoes <linux@rasmusvillemoes.dk>,
	linux-kernel@vger.kernel.org
Subject: [PATCH] linux/clock_cooling.h: use unique include guard
Date: Mon, 12 Oct 2015 23:38:10 +0200	[thread overview]
Message-ID: <1444685896-31359-1-git-send-email-linux@rasmusvillemoes.dk> (raw)

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


                 reply	other threads:[~2015-10-12 21:38 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1444685896-31359-1-git-send-email-linux@rasmusvillemoes.dk \
    --to=linux@rasmusvillemoes.dk \
    --cc=eduardo.valentin@ti.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®