summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2011-11-09 21:33:43 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2011-11-15 15:58:56 -0800
commit027d7dacf73273dbe07a75b2ef5579616f17272c (patch)
tree27a59e5a024cca9740a385a5c4acc27b17a909ca /tools
parentf3706266198d3efb0fd589f34fa8471478ea364d (diff)
downloadop-kernel-dev-027d7dacf73273dbe07a75b2ef5579616f17272c.zip
op-kernel-dev-027d7dacf73273dbe07a75b2ef5579616f17272c.tar.gz
TTY: serial, cleanup include file
There are some functions (uart_handle_dcd_change, _handle_cts_change, _insert_char) which are big enough to not be inlined. So move them from .h to .c. We need to export them so that modules can actually use them. They will be even bigger when we introduce tty refcounting to them. While at it, cleanup the "Proud member of Uglyhacks'R'US". It means, define uart_handle_sysrq_char only when SUPPORT_SYSRQ is set. Otherwise define it as a macro. This is needed for some arm driver where the second parameter is undefined if expanded. Signed-off-by: Jiri Slaby <jslaby@suse.cz> Cc: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud