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: pl022: 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-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Krzysztof Kozlowski and committed by
Mark Brown
d1ff85fd 4f485773

+2 -1
+2 -1
include/linux/amba/pl022.h
··· 16 16 #ifndef _SSP_PL022_H 17 17 #define _SSP_PL022_H 18 18 19 + #include <linux/dmaengine.h> 19 20 #include <linux/types.h> 20 21 21 22 /** ··· 236 235 struct pl022_ssp_controller { 237 236 u16 bus_id; 238 237 u8 enable_dma:1; 239 - bool (*dma_filter)(struct dma_chan *chan, void *filter_param); 238 + dma_filter_fn dma_filter; 240 239 void *dma_rx_param; 241 240 void *dma_tx_param; 242 241 int autosuspend_delay;