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>
This commit is contained in:
parent
c42d9bead4
commit
3d4dd10b37
@ -5,6 +5,7 @@
|
||||
#ifndef __LINUX_SPI_PXA2XX_SPI_H
|
||||
#define __LINUX_SPI_PXA2XX_SPI_H
|
||||
|
||||
#include <linux/dmaengine.h>
|
||||
#include <linux/types.h>
|
||||
|
||||
#include <linux/pxa2xx_ssp.h>
|
||||
@ -22,7 +23,7 @@ struct pxa2xx_spi_controller {
|
||||
bool is_target;
|
||||
|
||||
/* DMA engine specific config */
|
||||
bool (*dma_filter)(struct dma_chan *chan, void *param);
|
||||
dma_filter_fn dma_filter;
|
||||
void *tx_param;
|
||||
void *rx_param;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user