Skip to contentSkip to conversation

remove CONFIG_SERIAL_21285_OLD

PATCH In review Adrian Bunk 2 participants 2 messages Jul 13, 2003 TTY layer and serial drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 remove CONFIG_SERIAL_21285_OLD

CONFIG_SERIAL_21285_OLD depends on the non-existent option CONFIG_OBSOLETE, IOW it's not selectable, and the help text says "This is obsolete and will be removed during later 2.5 development.".

Is the patch below to remove this option OK?

cu
Adrian

drivers/serial/Kconfig renamed from drivers/serial/Kconfig.old +0 -7
@@ -249,13 +249,6 @@
 	  PCI bridge you can enable its onboard serial port by enabling this
 	  option.
 
-config SERIAL_21285_OLD
-	bool "Use /dev/ttyS0 device (OBSOLETE)"
-	depends on SERIAL_21285=y && OBSOLETE
-	help
-	  Use the old /dev/ttyS name, major 4 minor 64.  This is obsolete
-	  and will be removed during later 2.5 development.
-
 config SERIAL_21285_CONSOLE
 	bool "Console on DC21285 serial port"
 	depends on SERIAL_21285=y
drivers/serial/21285.c renamed from drivers/serial/21285.c.old +0 -12
@@ -481,18 +481,6 @@
 }
 
 extern struct uart_driver serial21285_reg;
-#ifdef CONFIG_SERIAL_21285_OLD
-static struct console serial21285_old_cons =
-{
-	.name		= SERIAL_21285_OLD_NAME,
-	.write		= serial21285_console_write,
-	.device		= uart_console_device,
-	.setup		= serial21285_console_setup,
-	.flags		= CON_PRINTBUFFER,
-	.index		= -1,
-	.data		= &serial21285_reg,
-};
-#endif
 
 static struct console serial21285_console =
 {
#1 lore raw
Quoted 5 lines · Adrian Bunk

CONFIG_SERIAL_21285_OLD depends on the non-existent option CONFIG_OBSOLETE, IOW it's not selectable, and the help text says "This is obsolete and will be removed during later 2.5 development.".

Is the patch below to remove this option OK?

Absolutely fine by me.

Signature · 2 lines
Russell King ([email protected])                The developer of ARM Linux
             http://www.arm.linux.org.uk/personal/aboutme.html