All of lore.kernel.org
 help / color / mirror / Atom feed
From: Adrian Bunk <bunk@fs.tum.de>
To: ralf@gnu.org
Cc: linux-kernel@vger.kernel.org
Subject: [2.5 patch] remove LINUX_VERSION_CODE from arch/mips/au1000/common/serial.c
Date: Fri, 10 Jan 2003 11:07:48 +0100	[thread overview]
Message-ID: <20030110100748.GD6626@fs.tum.de> (raw)

Hi Ralf,

the patch below removes two no longer needed LINUX_VERSION_CODE from 
arch/mips/au1000/common/serial.c (not needed since CONFIG_DEVFS_FS is 
never defined on 2.2 kernels). It applies against 2.5.55 and current 
MIPS cvs.

cu
Adrian

--- linux-2.5.55/arch/mips/au1000/common/serial.c.old	2003-01-10 10:56:15.000000000 +0100
+++ linux-2.5.55/arch/mips/au1000/common/serial.c	2003-01-10 10:57:08.000000000 +0100
@@ -2588,7 +2588,7 @@
 	memset(&serial_driver, 0, sizeof(struct tty_driver));
 	serial_driver.magic = TTY_DRIVER_MAGIC;
 	serial_driver.driver_name = "serial";
-#if (LINUX_VERSION_CODE > 0x2032D && defined(CONFIG_DEVFS_FS))
+#if defined(CONFIG_DEVFS_FS)
 	serial_driver.name = "tts/%d";
 #else
 	serial_driver.name = "ttyS";
@@ -2632,7 +2632,7 @@
 	 * major number and the subtype code.
 	 */
 	callout_driver = serial_driver;
-#if (LINUX_VERSION_CODE > 0x2032D && defined(CONFIG_DEVFS_FS))
+#if defined(CONFIG_DEVFS_FS)
 	callout_driver.name = "cua/%d";
 #else
 	callout_driver.name = "cua";


                 reply	other threads:[~2003-01-10  9:59 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=20030110100748.GD6626@fs.tum.de \
    --to=bunk@fs.tum.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=ralf@gnu.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.