Skip to content

Commit

Permalink
Revert "tty: serial8250: add helpers for the DesignWare 8250"
Browse files Browse the repository at this point in the history
This reverts commit 6b1a98d.

It causes a build error that needs to be resolved differently.

Cc: Alan Cox <alan@linux.intel.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Jamie Iles <jamie@jamieiles.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Greg Kroah-Hartman committed Aug 24, 2011
1 parent 0b37004 commit 9a23434
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 115 deletions.
99 changes: 0 additions & 99 deletions drivers/tty/serial/8250_dw.c

This file was deleted.

7 changes: 0 additions & 7 deletions drivers/tty/serial/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -267,13 +267,6 @@ config SERIAL_8250_RM9K
port hardware found on MIPS RM9122 and similar processors.
If unsure, say N.

config SERIAL_8250_DW
bool "Support for Synopsys DesignWare 8250 quirks"
depends on SERIAL_8250
help
Selecting this option will enable handling of the extra features
present in the Synopsys DesignWare APB UART.

comment "Non-8250 serial port support"

config SERIAL_AMBA_PL010
Expand Down
1 change: 0 additions & 1 deletion drivers/tty/serial/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ obj-$(CONFIG_SERIAL_8250_BOCA) += 8250_boca.o
obj-$(CONFIG_SERIAL_8250_EXAR_ST16C554) += 8250_exar_st16c554.o
obj-$(CONFIG_SERIAL_8250_HUB6) += 8250_hub6.o
obj-$(CONFIG_SERIAL_8250_MCA) += 8250_mca.o
obj-$(CONFIG_SERIAL_8250_DW) += 8250_dw.o
obj-$(CONFIG_SERIAL_AMBA_PL010) += amba-pl010.o
obj-$(CONFIG_SERIAL_AMBA_PL011) += amba-pl011.o
obj-$(CONFIG_SERIAL_CLPS711X) += clps711x.o
Expand Down
8 changes: 0 additions & 8 deletions include/linux/serial_8250.h
Original file line number Diff line number Diff line change
Expand Up @@ -86,13 +86,5 @@ int serial8250_handle_irq(struct uart_port *port, unsigned int iir);
extern void serial8250_set_isa_configurator(void (*v)
(int port, struct uart_port *up,
unsigned short *capabilities));
#ifndef SERIAL_8250_DW
extern int serial8250_use_designware_io(struct uart_port *up);
#else
static inline int serial8250_use_designware_io(struct uart_port *up)
{
return -EIO;
}
#endif

#endif

0 comments on commit 9a23434

Please sign in to comment.