aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAlan Cox <alan@linux.intel.com>2010-06-30 17:58:38 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2010-08-10 13:47:44 -0700
commit61fd15262bb9c88a05fd89af22add9317dc1b1f4 (patch)
tree5bd8a7ac29f098b344eb71b0d472787e651057c1 /include
parentserial: max3107: introduce a max3107 driver (diff)
downloadlinux-dev-61fd15262bb9c88a05fd89af22add9317dc1b1f4.tar.xz
linux-dev-61fd15262bb9c88a05fd89af22add9317dc1b1f4.zip
serial: max3107: Abstract out the platform specific bits
At the moment there is only one platform type supported and there is is hard wired, but with these changes the infrastructure is now there for anyone else to provide methods for their hardware. Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include')
-rw-r--r--include/linux/serial_core.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/serial_core.h b/include/linux/serial_core.h
index 32928161fab6..9ddc866ccc09 100644
--- a/include/linux/serial_core.h
+++ b/include/linux/serial_core.h
@@ -186,6 +186,10 @@
#define PORT_ALTERA_JTAGUART 91
#define PORT_ALTERA_UART 92
+/* MAX3107 */
+#define PORT_MAX3107 94
+
+
#ifdef __KERNEL__
#include <linux/compiler.h>