summaryrefslogtreecommitdiff
path: root/board/st/common/stusb160x.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/st/common/stusb160x.c')
-rw-r--r--board/st/common/stusb160x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/st/common/stusb160x.c b/board/st/common/stusb160x.c
index f1197f9faa..e0a2b76353 100644
--- a/board/st/common/stusb160x.c
+++ b/board/st/common/stusb160x.c
@@ -22,7 +22,7 @@ int stusb160x_cable_connected(void)
int ret;
ret = uclass_get_device_by_driver(UCLASS_I2C_GENERIC,
- DM_GET_DRIVER(stusb160x),
+ DM_DRIVER_GET(stusb160x),
&dev);
if (ret < 0)
return ret;