]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
mmc: dw_mmc: Remove unused struct dma_pdata
authorShawn Lin <shawn.lin@rock-chips.com>
Wed, 26 Nov 2025 00:14:41 +0000 (08:14 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 23 Feb 2026 11:06:51 +0000 (12:06 +0100)
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>
drivers/mmc/host/dw_mmc.h

index 648b4a5641bf2437e2d5690ebc872feca77cbb43..b4ceca0167c42aef8d85f0b7b0426cf9bd6d770d 100644 (file)
@@ -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 */