[SERIAL] Fix port numbering
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Mon, 31 Oct 2005 13:53:26 +0000 (13:53 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 31 Oct 2005 13:53:26 +0000 (13:53 +0000)
The PORT_* macros must be uniquely numbered.  This fixes the
definitions.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
include/linux/serial_core.h

index 2b0401b..9d25792 100644 (file)
@@ -39,8 +39,7 @@
 #define PORT_RSA       13
 #define PORT_NS16550A  14
 #define PORT_XSCALE    15
-#define PORT_IP3106    16
-#define PORT_MAX_8250  16      /* max port ID */
+#define PORT_MAX_8250  15      /* max port ID */
 
 /*
  * ARM specific type numbers.  These are not currently guaranteed
 #define PORT_M32R_SIO  68
 
 /*Digi jsm */
-#define PORT_JSM        65
+#define PORT_JSM        69
+
+#define PORT_IP3106    70
 
 #ifdef __KERNEL__