mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-01 10:42:11 +00:00
mtd: lpc32xx: 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> Acked-by: Vladimir Zapolskiy <vz@mleia.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Link: https://lore.kernel.org/linux-mtd/20240208202113.630190-1-krzysztof.kozlowski@linaro.org
This commit is contained in:
parent
8709aa3e9d
commit
f1d00496a1
@ -11,7 +11,7 @@
|
|||||||
#include <linux/dmaengine.h>
|
#include <linux/dmaengine.h>
|
||||||
|
|
||||||
struct lpc32xx_mlc_platform_data {
|
struct lpc32xx_mlc_platform_data {
|
||||||
bool (*dma_filter)(struct dma_chan *chan, void *filter_param);
|
dma_filter_fn dma_filter;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif /* __LINUX_MTD_LPC32XX_MLC_H */
|
#endif /* __LINUX_MTD_LPC32XX_MLC_H */
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
#include <linux/dmaengine.h>
|
#include <linux/dmaengine.h>
|
||||||
|
|
||||||
struct lpc32xx_slc_platform_data {
|
struct lpc32xx_slc_platform_data {
|
||||||
bool (*dma_filter)(struct dma_chan *chan, void *filter_param);
|
dma_filter_fn dma_filter;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif /* __LINUX_MTD_LPC32XX_SLC_H */
|
#endif /* __LINUX_MTD_LPC32XX_SLC_H */
|
||||||
|
Loading…
Reference in New Issue
Block a user