summaryrefslogtreecommitdiff
path: root/drivers/spi/spi-omap-uwire.c
diff options
context:
space:
mode:
authorStefan Agner <stefan@agner.ch>2018-03-24 11:48:00 +0100
committerMark Brown <broonie@kernel.org>2018-03-28 10:42:48 +0800
commit357325764d7eabc4d2169d26af079b441fd48bc5 (patch)
tree6dd27e84ec8c8a6ee6ff1d7a5692a8e2689920ba /drivers/spi/spi-omap-uwire.c
parent9581329eff9db72ab4fbb46a594fd7fdda3c51b0 (diff)
spi: spi-atmel: Use correct enum for DMA transfer direction
Use enum dma_transfer_direction as required by the functions dmaengine_prep_slave_(sg|single)() instead of enum dma_data_direction. This won't change behavior in practice as the enum values are equivalent. This fixes two warnings when building with clang: drivers/spi/spi-atmel.c:771:12: warning: implicit conversion from enumeration type 'enum dma_data_direction' to different enumeration type 'enum dma_transfer_direction' [-Wenum-conversion] DMA_FROM_DEVICE, ^~~~~~~~~~~~~~~ ... Signed-off-by: Stefan Agner <stefan@agner.ch> Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-omap-uwire.c')
0 files changed, 0 insertions, 0 deletions