diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2013-06-27 14:45:16 +0200 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2013-10-31 15:49:14 +0100 |
commit | 94cb0e7980e27b0a303074568de76080de06a693 (patch) | |
tree | bb74862c3e24f0e67b4ff890197c28917015984c /drivers/sbus | |
parent | DMA-API: usb: musb: use platform_device_register_full() to avoid directly mes... (diff) | |
download | linux-94cb0e7980e27b0a303074568de76080de06a693.tar.xz linux-94cb0e7980e27b0a303074568de76080de06a693.zip |
DMA-API: dma: edma.c: no need to explicitly initialize DMA masks
register_platform_device_full() can setup the DMA mask provided the
appropriate member is set in struct platform_device_info. So lets
make that be the case. This avoids a direct reference to the DMA
masks by this driver.
While here, add the dma_set_mask_and_coherent() call which the DMA API
requires DMA-using drivers to call.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/sbus')
0 files changed, 0 insertions, 0 deletions