* [2.5 patch] remove LINUX_VERSION_CODE from arch/mips/au1000/common/serial.c
@ 2003-01-10 10:07 Adrian Bunk
0 siblings, 0 replies; only message in thread
From: Adrian Bunk @ 2003-01-10 10:07 UTC (permalink / raw)
To: ralf; +Cc: linux-kernel
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";
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-01-10 9:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-10 10:07 [2.5 patch] remove LINUX_VERSION_CODE from arch/mips/au1000/common/serial.c Adrian Bunk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox