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

mmc: renesas_sdhi: 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>
Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Link: https://lore.kernel.org/r/20240208202137.630281-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>

authored by

Krzysztof Kozlowski and committed by
Ulf Hansson
d6e5288c 59fbb55a

+2 -1
+2 -1
drivers/mmc/host/renesas_sdhi.h
··· 9 9 #ifndef RENESAS_SDHI_H 10 10 #define RENESAS_SDHI_H 11 11 12 + #include <linux/dmaengine.h> 12 13 #include <linux/platform_device.h> 13 14 #include "tmio_mmc.h" 14 15 ··· 64 63 struct renesas_sdhi_dma { 65 64 unsigned long end_flags; 66 65 enum dma_slave_buswidth dma_buswidth; 67 - bool (*filter)(struct dma_chan *chan, void *arg); 66 + dma_filter_fn filter; 68 67 void (*enable)(struct tmio_mmc_host *host, bool enable); 69 68 struct completion dma_dataend; 70 69 struct tasklet_struct dma_complete;