serial: add port helpers
authorAlan Cox <alan@linux.intel.com>
Tue, 1 Jun 2010 20:52:58 +0000 (22:52 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 10 Aug 2010 20:47:42 +0000 (13:47 -0700)
commitde0c8cb314cc737c47a00de33cd6246accf94192
tree95982a824b1ade10d5c9db21f122d7d56a04872e
parent61cd8a21d8a9fb4b11111270cf2d3aa919c20624
serial: add port helpers

We can make this the same as the ones that will be needed by the tty_port
helper logic that we want to move to but still call them from the existing
code base.

Signed-off-by: Alan Cox <alan@linux.intel.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/serial/serial_core.c