From: Daniele Forsi <dforsi@gmail.com>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Jiri Slaby <jslaby@suse.cz>, Jiri Kosina <trivial@kernel.org>,
linux-serial@vger.kernel.org
Cc: Daniele Forsi <dforsi@gmail.com>
Subject: [PATCH] serial: 8250_hp300: trivial: fix symbol name in #warning message
Date: Fri, 8 Aug 2014 17:14:32 +0200 [thread overview]
Message-ID: <1407510872-18057-1-git-send-email-dforsi@gmail.com> (raw)
The symbol is defined in drivers/tty/serial/8250/Kconfig as
"SERIAL_8250", not just "8250".
Signed-off-by: Daniele Forsi <dforsi@gmail.com>
---
drivers/tty/serial/8250/8250_hp300.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/drivers/tty/serial/8250/8250_hp300.c b/drivers/tty/serial/8250/8250_hp300.c
index 5bdaf27..f155328 100644
--- a/drivers/tty/serial/8250/8250_hp300.c
+++ b/drivers/tty/serial/8250/8250_hp300.c
@@ -24,6 +24,10 @@
#warning CONFIG_8250 defined but neither CONFIG_HPDCA nor CONFIG_HPAPCI defined, are you sure?
#endif
+#if !defined(CONFIG_HPDCA) && !defined(CONFIG_HPAPCI)
+#warning CONFIG_SERIAL_8250 defined but neither CONFIG_HPDCA nor CONFIG_HPAPCI defined, are you sure?
+#endif
+
#ifdef CONFIG_HPAPCI
struct hp300_port
{
--
2.0.1
next reply other threads:[~2014-08-08 15:14 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-08 15:14 Daniele Forsi [this message]
2014-08-08 15:29 ` [PATCH] serial: 8250_hp300: trivial: fix symbol name in #warning message Greg Kroah-Hartman
2014-08-08 15:56 ` [PATCH v2] " Daniele Forsi
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=1407510872-18057-1-git-send-email-dforsi@gmail.com \
--to=dforsi@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=jslaby@suse.cz \
--cc=linux-serial@vger.kernel.org \
--cc=trivial@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;
as well as URLs for NNTP newsgroup(s).