aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/platform_data/serial-sccnxp.h
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 /include/linux/platform_data/serial-sccnxp.h
parentserial: at91: correct definition from DMA to PDC (diff)
downloadlinux-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