summaryrefslogtreecommitdiffstats
path: root/drivers/net/fm/fm.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/fm/fm.c')
-rw-r--r--drivers/net/fm/fm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/fm/fm.c b/drivers/net/fm/fm.c
index bbb1738c4b..7d51be1f72 100644
--- a/drivers/net/fm/fm.c
+++ b/drivers/net/fm/fm.c
@@ -605,7 +605,7 @@ U_BOOT_DRIVER(fman) = {
.of_match = fman_ids,
.probe = fman_probe,
.remove = fman_remove,
- .priv_auto_alloc_size = sizeof(struct fman_priv),
+ .priv_auto = sizeof(struct fman_priv),
.flags = DM_FLAG_ALLOC_PRIV_DMA,
};
#endif /* CONFIG_DM_ETH */