From: Shawn Lin Date: Tue, 6 Jan 2026 02:17:02 +0000 (+0800) Subject: mmc: dw_mmc: Remove redundant struct mmc_data forward declaration X-Git-Tag: v7.1-rc1~157^2~83 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e453a08b3a1199809b27a2c6982261710abe0170;p=thirdparty%2Fkernel%2Fstable.git mmc: dw_mmc: Remove redundant struct mmc_data forward declaration 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 Signed-off-by: Ulf Hansson --- diff --git a/drivers/mmc/host/dw_mmc.h b/drivers/mmc/host/dw_mmc.h index 76bf8a72b6bd8..5c17bcc85bf59 100644 --- a/drivers/mmc/host/dw_mmc.h +++ b/drivers/mmc/host/dw_mmc.h @@ -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,