aboutsummaryrefslogtreecommitdiff
path: root/board/st/common/stm32mp_dfu.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/st/common/stm32mp_dfu.c')
-rw-r--r--board/st/common/stm32mp_dfu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/st/common/stm32mp_dfu.c b/board/st/common/stm32mp_dfu.c
index fa48b2a35ee..0096f71dfc1 100644
--- a/board/st/common/stm32mp_dfu.c
+++ b/board/st/common/stm32mp_dfu.c
@@ -37,7 +37,7 @@ static void board_get_alt_info_mmc(struct udevice *dev, char *buf)
if (!desc)
return;
- name = blk_get_if_type_name(desc->if_type);
+ name = blk_get_uclass_name(desc->uclass_id);
devnum = desc->devnum;
len = strlen(buf);