summaryrefslogtreecommitdiffstats
path: root/include/linux/serial_8250.h
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2011-08-24 15:25:49 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2011-08-24 15:25:49 -0700
commit9a234349de01de3437784c0ef03d95353f055fae (patch)
tree2a0be0a9144d49f7d03d173e3e8fca2f3e1e8a50 /include/linux/serial_8250.h
parent0b37004dd0113db3b23840b4fd8835dae2395acc (diff)
downloadlinux-9a234349de01de3437784c0ef03d95353f055fae.tar.gz
linux-9a234349de01de3437784c0ef03d95353f055fae.tar.bz2
linux-9a234349de01de3437784c0ef03d95353f055fae.zip
Revert "tty: serial8250: add helpers for the DesignWare 8250"
This reverts commit 6b1a98d1c4851235d9b6764b3f7b7db7909fc760. 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>
Diffstat (limited to 'include/linux/serial_8250.h')
-rw-r--r--include/linux/serial_8250.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/linux/serial_8250.h b/include/linux/serial_8250.h
index 09e2dbcd7ca3..1f05bbeac01e 100644
--- a/include/linux/serial_8250.h
+++ b/include/linux/serial_8250.h
@@ -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