summaryrefslogtreecommitdiff
path: root/drivers/net/octeontx/bgx.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/octeontx/bgx.c')
-rw-r--r--drivers/net/octeontx/bgx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/octeontx/bgx.c b/drivers/net/octeontx/bgx.c
index fbe2e2c073..2ea54be84d 100644
--- a/drivers/net/octeontx/bgx.c
+++ b/drivers/net/octeontx/bgx.c
@@ -1552,7 +1552,7 @@ U_BOOT_DRIVER(octeontx_bgx) = {
.id = UCLASS_MISC,
.probe = octeontx_bgx_probe,
.remove = octeontx_bgx_remove,
- .priv_auto_alloc_size = sizeof(struct bgx),
+ .priv_auto = sizeof(struct bgx),
.flags = DM_FLAG_OS_PREPARE,
};