diff options
Diffstat (limited to 'drivers/usb/emul/sandbox_hub.c')
-rw-r--r-- | drivers/usb/emul/sandbox_hub.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/emul/sandbox_hub.c b/drivers/usb/emul/sandbox_hub.c index 21bf3bda48..3e66ca4698 100644 --- a/drivers/usb/emul/sandbox_hub.c +++ b/drivers/usb/emul/sandbox_hub.c @@ -328,8 +328,8 @@ U_BOOT_DRIVER(usb_sandbox_hub) = { .of_match = sandbox_usb_hub_ids, .bind = sandbox_hub_bind, .ops = &sandbox_usb_hub_ops, - .priv_auto_alloc_size = sizeof(struct sandbox_hub_priv), - .per_child_platdata_auto_alloc_size = + .priv_auto = sizeof(struct sandbox_hub_priv), + .per_child_platdata_auto = sizeof(struct sandbox_hub_platdata), .child_post_bind = sandbox_child_post_bind, }; |