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>
This commit is contained in:
parent
4f4857730c
commit
d1ff85fdf0
@ -16,6 +16,7 @@
|
||||
#ifndef _SSP_PL022_H
|
||||
#define _SSP_PL022_H
|
||||
|
||||
#include <linux/dmaengine.h>
|
||||
#include <linux/types.h>
|
||||
|
||||
/**
|
||||
@ -235,7 +236,7 @@ struct dma_chan;
|
||||
struct pl022_ssp_controller {
|
||||
u16 bus_id;
|
||||
u8 enable_dma:1;
|
||||
bool (*dma_filter)(struct dma_chan *chan, void *filter_param);
|
||||
dma_filter_fn dma_filter;
|
||||
void *dma_rx_param;
|
||||
void *dma_tx_param;
|
||||
int autosuspend_delay;
|
||||
|
Loading…
x
Reference in New Issue
Block a user