[PATCH 1/3] mmc: stm32_sdmmc2: cosmetic: rename stm32_sdmmc_bind
Patrick Delaunay
patrick.delaunay at foss.st.com
Mon Jun 20 18:13:43 CEST 2022
Rename stm32_sdmmc_bind to stm32_sdmmc2_bind as all oter function
in SDMMCv2 driver
Signed-off-by: Patrick Delaunay <patrick.delaunay at foss.st.com>
---
drivers/mmc/stm32_sdmmc2.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/mmc/stm32_sdmmc2.c b/drivers/mmc/stm32_sdmmc2.c
index 81b07609a91..e3853b7fbfb 100644
--- a/drivers/mmc/stm32_sdmmc2.c
+++ b/drivers/mmc/stm32_sdmmc2.c
@@ -763,7 +763,7 @@ clk_free:
return ret;
}
-static int stm32_sdmmc_bind(struct udevice *dev)
+static int stm32_sdmmc2_bind(struct udevice *dev)
{
struct stm32_sdmmc2_plat *plat = dev_get_plat(dev);
@@ -781,7 +781,7 @@ U_BOOT_DRIVER(stm32_sdmmc2) = {
.of_match = stm32_sdmmc2_ids,
.ops = &stm32_sdmmc2_ops,
.probe = stm32_sdmmc2_probe,
- .bind = stm32_sdmmc_bind,
+ .bind = stm32_sdmmc2_bind,
.priv_auto = sizeof(struct stm32_sdmmc2_priv),
.plat_auto = sizeof(struct stm32_sdmmc2_plat),
};
--
2.25.1
More information about the U-Boot
mailing list