]> git.karo-electronics.de Git - karo-tx-linux.git/commit
pps: default echo function
authorJames Nuss <jamesnuss@nanometrics.ca>
Wed, 28 Sep 2011 00:51:04 +0000 (10:51 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 30 Sep 2011 04:53:49 +0000 (14:53 +1000)
commit6e7e8ac4186248270ac6bd2123c0daa910950c0a
treea026580daf2a4ee5ace59e91a43c286bdfacc380
parent8d26cc42f6f8ba02e1b5a8e4e96b6b86134842ca
pps: default echo function

A default echo function has been provided so it is no longer an error when
you specify PPS_ECHOASSERT or PPS_ECHOCLEAR without an explicit echo
function.  This allows some code re-use and also makes it easier to write
client drivers since the default echo function does not normally need to
change.

Signed-off-by: James Nuss <jamesnuss@nanometrics.ca>
Reviewed-by: Ben Gardiner <bengardiner@nanometrics.ca>
Acked-by: Rodolfo Giometti <giometti@linux.it>
Cc: Ricardo Martins <rasm@fe.up.pt>
Cc: Alexander Gordeev <lasaine@lvk.cs.msu.su>
Cc: Igor Plyatov <plyatov@gmail.com>
Signed-off-by: Andrew Morton <>
drivers/pps/clients/pps-ktimer.c
drivers/pps/clients/pps_parport.c
drivers/pps/kapi.c