Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

spi: pxa2xx: Use typedef for dma_filter_fn

Use existing typedef for dma_filter_fn to avoid duplicating type
definition.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20240208202154.630336-3-krzysztof.kozlowski@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Krzysztof Kozlowski and committed by
Mark Brown
3d4dd10b c42d9bea

+2 -1
+2 -1
include/linux/spi/pxa2xx_spi.h
··· 5 5 #ifndef __LINUX_SPI_PXA2XX_SPI_H 6 6 #define __LINUX_SPI_PXA2XX_SPI_H 7 7 8 + #include <linux/dmaengine.h> 8 9 #include <linux/types.h> 9 10 10 11 #include <linux/pxa2xx_ssp.h> ··· 23 22 bool is_target; 24 23 25 24 /* DMA engine specific config */ 26 - bool (*dma_filter)(struct dma_chan *chan, void *param); 25 + dma_filter_fn dma_filter; 27 26 void *tx_param; 28 27 void *rx_param; 29 28