summaryrefslogtreecommitdiff
path: root/drivers/tty/serial/sccnxp.c
diff options
context:
space:
mode:
authorElen Song <elen.song@atmel.com>2013-07-22 16:30:25 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-07-29 13:03:29 -0700
commita930e52875e96709cc01e4babcb8351687c5a58e (patch)
tree275167744381f78355db7875547bbe6dcf1b1d08 /drivers/tty/serial/sccnxp.c
parent64e22ebe49780e2454c8788c5af9f1e0e500e1a2 (diff)
serial: at91: use function pointer to choose pdc or pio
use function pointer can avoid define atmel_use_pdc_tx/rx everywhere. (*prepare_rx/tx)() is in setup transfer stage. (*schedule_rx/tx)() is in tasklet schedule stage. (*release_rx/tx)() is used when shutdown the transfer. Signed-off-by: Elen Song <elen.song@atmel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/sccnxp.c')
0 files changed, 0 insertions, 0 deletions