diff options
| author | Jiri Slaby <[email protected]> | 2011-11-09 21:33:43 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2011-11-15 15:58:56 -0800 |
| commit | 027d7dacf73273dbe07a75b2ef5579616f17272c (patch) | |
| tree | 27a59e5a024cca9740a385a5c4acc27b17a909ca /tools/perf/scripts/python/bin | |
| parent | f3706266198d3efb0fd589f34fa8471478ea364d (diff) | |
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 <[email protected]>
Cc: Alan Cox <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions