]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
mmc: dw_mmc: Remove dma_ops from struct dw_mci_board
authorShawn Lin <shawn.lin@rock-chips.com>
Tue, 6 Jan 2026 02:16:53 +0000 (10:16 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 23 Feb 2026 11:06:54 +0000 (12:06 +0100)
commit57cc962430a1026f68bcda583d0bdd02dd564298
tree22060883c54157652493418a0c32d2361bd7757e
parent4db2a6c8576f75f16b253c1fd15c821c40662aa2
mmc: dw_mmc: Remove dma_ops from struct dw_mci_board

It does take dma_ops from struct dw_mci_board, but we immediately
re-assign it from either dw_mci_idmac_ops or dw_mci_edmac_ops in
dw_mci_init_dma(). That means it's never used now, or has been
broken for a long time without noticed. It seems no drivers need
it, so remove it now.

Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/dw_mmc.c
drivers/mmc/host/dw_mmc.h