aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Delaunay <patrick.delaunay@foss.st.com>2022-06-30 10:01:45 +0200
committerPatrick Delaunay <patrick.delaunay@foss.st.com>2022-07-12 11:46:31 +0200
commit5f1e6b639b47eea5177b1128c384da76dce2dbe6 (patch)
treec014368d4ef90c96e96573b38b70b3b5ffc9f0d8
parent44db098ae1d91bde3bd52097ab3a1a52f5b4ed84 (diff)
downloadu-boot-5f1e6b639b47eea5177b1128c384da76dce2dbe6.zip
u-boot-5f1e6b639b47eea5177b1128c384da76dce2dbe6.tar.gz
u-boot-5f1e6b639b47eea5177b1128c384da76dce2dbe6.tar.bz2
mmc: stm32_sdmmc2: cosmetic: rename stm32_sdmmc_bind
Rename stm32_sdmmc_bind to stm32_sdmmc2_bind as all other functions in SDMMCv2 driver Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com> Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com> Change-Id: Ic51acdfbbba6e971809c1029dd2227038bfe879d
-rw-r--r--drivers/mmc/stm32_sdmmc2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mmc/stm32_sdmmc2.c b/drivers/mmc/stm32_sdmmc2.c
index 81b0760..e3853b7 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),
};