diff options
author | 2013-07-22 16:30:25 +0800 | |
---|---|---|
committer | 2013-07-29 13:03:29 -0700 | |
commit | a930e52875e96709cc01e4babcb8351687c5a58e (patch) | |
tree | 275167744381f78355db7875547bbe6dcf1b1d08 /include/linux/platform_data/serial-sccnxp.h | |
parent | serial: at91: correct definition from DMA to PDC (diff) | |
download | linux-rng-a930e52875e96709cc01e4babcb8351687c5a58e.tar.xz linux-rng-a930e52875e96709cc01e4babcb8351687c5a58e.zip |
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 'include/linux/platform_data/serial-sccnxp.h')
0 files changed, 0 insertions, 0 deletions