diff mbox series

[1/3] spi: pl022: Use typedef for dma_filter_fn

Message ID 20240208202154.630336-1-krzysztof.kozlowski@linaro.org (mailing list archive)
State Accepted
Commit d1ff85fdf0b8f63a6e042ae7559c630f9b1c50e2
Headers show
Series [1/3] spi: pl022: Use typedef for dma_filter_fn | expand

Commit Message

Krzysztof Kozlowski Feb. 8, 2024, 8:21 p.m. UTC
Use existing typedef for dma_filter_fn to avoid duplicating type
definition.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 include/linux/amba/pl022.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Mark Brown Feb. 9, 2024, 10:11 a.m. UTC | #1
On Thu, 08 Feb 2024 21:21:52 +0100, Krzysztof Kozlowski wrote:
> Use existing typedef for dma_filter_fn to avoid duplicating type
> definition.
> 
> 

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next

Thanks!

[1/3] spi: pl022: Use typedef for dma_filter_fn
      commit: d1ff85fdf0b8f63a6e042ae7559c630f9b1c50e2
[2/3] spi: pl022: Add missing dma_filter field kerneldoc
      commit: c42d9bead493854507e1a180942ebe33c9180598
[3/3] spi: pxa2xx: Use typedef for dma_filter_fn
      commit: 3d4dd10b376e1b8b6d0409f7e7b752f9baa51c24

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark
diff mbox series

Patch

diff --git a/include/linux/amba/pl022.h b/include/linux/amba/pl022.h
index 9bf58aac0df2..e08488df6d28 100644
--- a/include/linux/amba/pl022.h
+++ b/include/linux/amba/pl022.h
@@ -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;