summaryrefslogtreecommitdiffstats
path: root/include/linux/serial_core.h
diff options
context:
space:
mode:
authorPhilippe Langlais <philippe.langlais@stericsson.com>2010-08-31 14:19:09 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2010-09-03 17:29:04 -0700
commit71cad0554956de87c3fc413b1eac9313887eb14f (patch)
treec1b7e900fe2329d689042a1ccf49842135a38a67 /include/linux/serial_core.h
parentd86b3001a1a6f9b8be15e5e060338de085d2bbbc (diff)
downloadlinux-71cad0554956de87c3fc413b1eac9313887eb14f.tar.gz
linux-71cad0554956de87c3fc413b1eac9313887eb14f.tar.bz2
linux-71cad0554956de87c3fc413b1eac9313887eb14f.zip
serial: fix port type conflict between NS16550A & U6_16550A
Bug seen by Dr. David Alan Gilbert with sparse Signed-off-by: Philippe Langlais <philippe.langlais@stericsson.com> Cc: stable <stable@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux/serial_core.h')
-rw-r--r--include/linux/serial_core.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/serial_core.h b/include/linux/serial_core.h
index 64458a9a8938..563e23400913 100644
--- a/include/linux/serial_core.h
+++ b/include/linux/serial_core.h
@@ -44,7 +44,8 @@
#define PORT_RM9000 16 /* PMC-Sierra RM9xxx internal UART */
#define PORT_OCTEON 17 /* Cavium OCTEON internal UART */
#define PORT_AR7 18 /* Texas Instruments AR7 internal UART */
-#define PORT_MAX_8250 18 /* max port ID */
+#define PORT_U6_16550A 19 /* ST-Ericsson U6xxx internal UART */
+#define PORT_MAX_8250 19 /* max port ID */
/*
* ARM specific type numbers. These are not currently guaranteed