diff options
author | George Spelvin <[email protected]> | 2013-02-12 02:00:43 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2013-02-13 10:13:58 -0800 |
commit | 593fb1ae457aab28b392ac114f6e3358788da985 (patch) | |
tree | 6f8cc5465000eb8c148bc0d20f957a85e873966a /net/lapb/lapb_in.c | |
parent | ce3da1a654c83c6c9cb0b33477815e5d1293cc00 (diff) |
pps: Move timestamp read into PPS code proper
The PPS (Pulse-Per-Second) line discipline has developed a number of
unhealthy attachments to core tty data and functions, ultimately leading
to its breakage.
The previous patches fixed the crashing. This one reduces coupling further
by eliminating the timestamp parameter from the dcd_change ldisc method.
This reduces header file linkage and makes the extension more generic,
and the timestamp read is delayed only slightly, from just before the
ldisc->ops->dcd_change method call to just after.
Fix attendant build breakage in
drivers/tty/n_tty.c
drivers/tty/tty_buffer.c
drivers/staging/speakup/selection.c
drivers/staging/dgrp/dgrp_*.c
Cc: William Hubbs <[email protected]>
Cc: Chris Brannon <[email protected]>
Cc: Kirk Reiser <[email protected]>
Cc: Samuel Thibault <[email protected]>
Signed-off-by: Peter Hurley <[email protected]>
Signed-off-by: George Spelvin <[email protected]>
Acked-by: Rodolfo Giometti <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions