summaryrefslogtreecommitdiff
path: root/board/st/common/cmd_stboard.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/st/common/cmd_stboard.c')
-rw-r--r--board/st/common/cmd_stboard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/st/common/cmd_stboard.c b/board/st/common/cmd_stboard.c
index e1038619f0..2fba383168 100644
--- a/board/st/common/cmd_stboard.c
+++ b/board/st/common/cmd_stboard.c
@@ -85,7 +85,7 @@ static int do_stboard(struct cmd_tbl *cmdtp, int flag, int argc,
return CMD_RET_USAGE;
ret = uclass_get_device_by_driver(UCLASS_MISC,
- DM_GET_DRIVER(stm32mp_bsec),
+ DM_DRIVER_GET(stm32mp_bsec),
&dev);
ret = misc_read(dev, STM32_BSEC_OTP(BSEC_OTP_BOARD),