[PATCH 0/2] mmc: core: Avoid export of mmc_alloc|free_host()

From: Ulf Hansson

Date: Tue Sep 15 2026 - 09:36:42 EST


From: Ulf Hansson <ulfh@xxxxxxxxxx>

The only remaining user of mmc_alloc|free_host() is the greybus sdio driver.
Let's convert it into using the resource managed variant so we can drop the
export of mmc_alloc|free_host().

Ulf Hansson (2):
staging: greybus: sdio: Convert to devm_mmc_alloc_host()
mmc: core: Turn mmc_alloc|free_host() into static functions

drivers/mmc/core/host.c | 35 +++++++++-------------------------
drivers/staging/greybus/sdio.c | 11 +++--------
include/linux/mmc/host.h | 2 --
3 files changed, 12 insertions(+), 36 deletions(-)

--
2.43.0