summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShawn Lin <shawn.lin@rock-chips.com>2025-11-26 03:14:41 +0300
committerUlf Hansson <ulf.hansson@linaro.org>2026-02-23 14:06:51 +0300
commit40dfdd8d1449382cae3db2cefb1f5521ce19259b (patch)
tree9488af587a30cbdba8f67681d6a8723942858b26
parent79ad471530e0baef0dce991816013df55e401d9c (diff)
downloadlinux-40dfdd8d1449382cae3db2cefb1f5521ce19259b.tar.xz
mmc: dw_mmc: Remove unused struct dma_pdata
None of the variant drivers pass in dma_pdata, which means it's unused and could be removed. Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
-rw-r--r--drivers/mmc/host/dw_mmc.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/mmc/host/dw_mmc.h b/drivers/mmc/host/dw_mmc.h
index 648b4a5641bf..b4ceca0167c4 100644
--- a/drivers/mmc/host/dw_mmc.h
+++ b/drivers/mmc/host/dw_mmc.h
@@ -255,8 +255,6 @@ struct dw_mci_dma_ops {
void (*exit)(struct dw_mci *host);
};
-struct dma_pdata;
-
/* Board platform data */
struct dw_mci_board {
unsigned int bus_hz; /* Clock speed at the cclk_in pad */
@@ -276,7 +274,6 @@ struct dw_mci_board {
struct reset_control *rstc;
struct dw_mci_dma_ops *dma_ops;
- struct dma_pdata *data;
};
/* Support for longer data read timeout */