]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
mmc: dw_mmc: Remove redundant struct mmc_data forward declaration
authorShawn Lin <shawn.lin@rock-chips.com>
Tue, 6 Jan 2026 02:17:02 +0000 (10:17 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 23 Feb 2026 11:06:54 +0000 (12:06 +0100)
The header file linux/mmc/core.h, which is already included in dw_mmc.h,
contains the forward declaration of struct mmc_data. There's no need to
redeclare it here.

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 76bf8a72b6bd80d7c08b55e2872f7303f7d02314..5c17bcc85bf5912b516eef19a9acd96880feecb4 100644 (file)
@@ -43,8 +43,6 @@ enum dw_mci_cookie {
        COOKIE_MAPPED,          /* mapped by prepare_data() of dwmmc */
 };
 
-struct mmc_data;
-
 enum {
        TRANS_MODE_PIO = 0,
        TRANS_MODE_IDMAC,