From: Andreas Ziegler <andreas.ziegler@fau.de>
To: Zhao Qiang <qiang.zhao@nxp.com>
Cc: netdev@vger.kernel.org, linuxppc-dev@lists.ozlabs.org,
Valentin Rothberg <valentinrothberg@gmail.com>,
linux-kernel@vger.kernel.org,
Andreas Ziegler <andreas.ziegler@fau.de>
Subject: [PATCH] drivers/net/fsl_ucc: Do not prefix header guard with CONFIG_
Date: Wed, 8 Jun 2016 11:40:28 +0200 [thread overview]
Message-ID: <1465378828-7077-1-git-send-email-andreas.ziegler@fau.de> (raw)
The CONFIG_ prefix should only be used for options which
can be configured through Kconfig and not for guarding headers.
Signed-off-by: Andreas Ziegler <andreas.ziegler@fau.de>
---
drivers/net/wan/fsl_ucc_hdlc.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/wan/fsl_ucc_hdlc.h b/drivers/net/wan/fsl_ucc_hdlc.h
index 525786a..881ecde 100644
--- a/drivers/net/wan/fsl_ucc_hdlc.h
+++ b/drivers/net/wan/fsl_ucc_hdlc.h
@@ -8,8 +8,8 @@
* option) any later version.
*/
-#ifndef CONFIG_UCC_HDLC_H
-#define CONFIG_UCC_HDLC_H
+#ifndef _UCC_HDLC_H_
+#define _UCC_HDLC_H_
#include <linux/kernel.h>
#include <linux/list.h>
--
1.9.1
next reply other threads:[~2016-06-08 9:50 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-08 9:40 Andreas Ziegler [this message]
2016-06-08 18:08 ` [PATCH] drivers/net/fsl_ucc: Do not prefix header guard with CONFIG_ David Miller
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=1465378828-7077-1-git-send-email-andreas.ziegler@fau.de \
--to=andreas.ziegler@fau.de \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=netdev@vger.kernel.org \
--cc=qiang.zhao@nxp.com \
--cc=valentinrothberg@gmail.com \
/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;
as well as URLs for NNTP newsgroup(s).