mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 05:29:04 -04:00
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:
parent
44318feb93
commit
61fd15262b
6 changed files with 531 additions and 337 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in a new issue