diff options
| author | Elen Song <[email protected]> | 2013-07-22 16:30:25 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2013-07-29 13:03:29 -0700 |
| commit | a930e52875e96709cc01e4babcb8351687c5a58e (patch) | |
| tree | 275167744381f78355db7875547bbe6dcf1b1d08 /include/uapi | |
| parent | 64e22ebe49780e2454c8788c5af9f1e0e500e1a2 (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 <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'include/uapi')
0 files changed, 0 insertions, 0 deletions