remove LINUX_VERSION_CODE from arch/mips/au1000/common/serial.c
PATCH 1/1 remove LINUX_VERSION_CODE from arch/mips/au1000/common/serial.c
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
arch/mips/au1000/common/serial.c renamed from arch/mips/au1000/common/serial.c.old +2 -2
@@ -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" ;