summaryrefslogtreecommitdiff
path: root/drivers/button/button-gpio.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/button/button-gpio.c')
-rw-r--r--drivers/button/button-gpio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/button/button-gpio.c b/drivers/button/button-gpio.c
index 985ae7f5a7..756cd6972b 100644
--- a/drivers/button/button-gpio.c
+++ b/drivers/button/button-gpio.c
@@ -105,7 +105,7 @@ U_BOOT_DRIVER(button_gpio) = {
.id = UCLASS_BUTTON,
.of_match = button_gpio_ids,
.ops = &button_gpio_ops,
- .priv_auto_alloc_size = sizeof(struct button_gpio_priv),
+ .priv_auto = sizeof(struct button_gpio_priv),
.bind = button_gpio_bind,
.probe = button_gpio_probe,
.remove = button_gpio_remove,