aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_in.c
diff options
context:
space:
mode:
authorGeorge Spelvin <[email protected]>2013-02-10 04:08:32 -0500
committerGreg Kroah-Hartman <[email protected]>2013-02-13 09:40:35 -0800
commit513b032c98b4b9414aa4e9b4a315cb1bf0380101 (patch)
tree3483659abdcc63cb831bf9ded62e981de3ffd5e3 /net/lapb/lapb_in.c
parent6d53c3b71d32da665dc2742c1e8663741f27d3cd (diff)
pps: Add pps_lookup_dev() function
The PPS serial line discipline wants to attach a PPS device to a tty without changing the tty code to add a struct pps_device * pointer. Since the number of PPS devices in a typical system is generally very low (n=1 is by far the most common), it's practical to search the entire list of allocated pps devices. (We capture the timestamp before the lookup, so the timing isn't affected.) It is a bit ugly that this function, which is part of the in-kernel PPS API, has to be in pps.c as opposed to kapi,c, but that's not something that affects users. Signed-off-by: George Spelvin <[email protected]> Acked-by: Rodolfo Giometti <[email protected]> Cc: stable <[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