]> git.karo-electronics.de Git - karo-tx-linux.git/commit
pps: default echo function
authorJames Nuss <jamesnuss@nanometrics.ca>
Wed, 5 Oct 2011 00:43:58 +0000 (11:43 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 7 Oct 2011 06:07:07 +0000 (17:07 +1100)
commit1ed596c05ef58dfab2643e3904aa2c5e85eacf81
tree2728a3fa31f251f7fa85c47ddff15490abf99190
parent7f724093b6118b1f48c956ae58defa803abe9862
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 <akpm@linux-foundation.org>
drivers/pps/clients/pps-ktimer.c
drivers/pps/clients/pps_parport.c
drivers/pps/kapi.c