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>
This commit is contained in:
Alan Cox
2010-06-30 17:58:38 +01:00
committed by Greg Kroah-Hartman
parent 44318feb93
commit 61fd15262b
6 changed files with 532 additions and 338 deletions

View File

@@ -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>