From 96ea89000f3f2b395daeef9401dd3fab6d7c62b7 Mon Sep 17 00:00:00 2001 From: Sam Protsenko Date: Wed, 7 Aug 2024 22:14:08 -0500 Subject: mmc: dw_mmc: Move struct idmac to dw_mmc.c struct idmac is only used in dw_mmc.c, so move it there from dwmmc.h to avoid cluttering the interface in the header. No functional change. Signed-off-by: Sam Protsenko Reviewed-by: Quentin Schulz Signed-off-by: Minkyu Kang --- include/dwmmc.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'include') diff --git a/include/dwmmc.h b/include/dwmmc.h index 39024fb38aa..7e4acf096dc 100644 --- a/include/dwmmc.h +++ b/include/dwmmc.h @@ -198,13 +198,6 @@ struct dwmci_host { bool fifo_mode; }; -struct dwmci_idmac { - u32 flags; - u32 cnt; - u32 addr; - u32 next_addr; -} __aligned(ARCH_DMA_MINALIGN); - static inline void dwmci_writel(struct dwmci_host *host, int reg, u32 val) { writel(val, host->ioaddr + reg); -- cgit v1.2.3