From: Andrey Panin <pazke@orbita1.ru>
To: linux-kernel@vger.kernel.org
Subject: [PATCH] __ISAPNP__ breakage in serial.c (2.5.1)
Date: Tue, 18 Dec 2001 13:03:33 +0300 [thread overview]
Message-ID: <20011218130333.A199@pazke.ipt> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 298 bytes --]
Hi all,
in serial driver __ISAPNP__ conditional symbol is used before
isapnp.h file is included. Quick and dirty fix attached.
Best regards.
--
Andrey Panin | Embedded systems software engineer
pazke@orbita1.ru | PGP key: http://www.orbita1.ru/~pazke/AndreyPanin.asc
[-- Attachment #1.2: patch-serial-isapnp --]
[-- Type: text/plain, Size: 718 bytes --]
diff -urN -X /usr/dontdiff /linux.vanilla/drivers/char/serial.c /linux/drivers/char/serial.c
--- /linux.vanilla/drivers/char/serial.c Mon Dec 17 17:44:31 2001
+++ /linux/drivers/char/serial.c Tue Dec 18 00:13:01 2001
@@ -122,11 +122,6 @@
#define ENABLE_SERIAL_ACPI
#endif
-#ifdef __ISAPNP__
-#ifndef ENABLE_SERIAL_PNP
-#define ENABLE_SERIAL_PNP
-#endif
-#endif
/* Set of debugging defines */
@@ -211,9 +206,14 @@
#ifdef ENABLE_SERIAL_PCI
#include <linux/pci.h>
#endif
-#ifdef ENABLE_SERIAL_PNP
+
#include <linux/isapnp.h>
+#ifdef __ISAPNP__
+#ifndef ENABLE_SERIAL_PNP
+#define ENABLE_SERIAL_PNP
+#endif
#endif
+
#ifdef CONFIG_MAGIC_SYSRQ
#include <linux/sysrq.h>
#endif
[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]
reply other threads:[~2001-12-17 10:00 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=20011218130333.A199@pazke.ipt \
--to=pazke@orbita1.ru \
--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