mmc: dw_mmc: Introduce dw_mci_alloc_host()

This helper is used for variant drivers to allocate struct dw_mci
and set struct dw_mci as private data of struct mmc_host.

Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Tested-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
This commit is contained in:
Shawn Lin 2025-12-20 13:22:05 +08:00 • committed by Ulf Hansson
commit c72be4c306
2 changed files with 18 additions and 0 deletions