summaryrefslogtreecommitdiff
path: root/drivers/gpio/hi6220_gpio.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpio/hi6220_gpio.c')
-rw-r--r--drivers/gpio/hi6220_gpio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/hi6220_gpio.c b/drivers/gpio/hi6220_gpio.c
index 95de2ae366..c49dc78baa 100644
--- a/drivers/gpio/hi6220_gpio.c
+++ b/drivers/gpio/hi6220_gpio.c
@@ -89,7 +89,7 @@ U_BOOT_DRIVER(gpio_hi6220) = {
.id = UCLASS_GPIO,
.ops = &gpio_hi6220_ops,
.probe = hi6220_gpio_probe,
- .priv_auto_alloc_size = sizeof(struct gpio_bank),
+ .priv_auto = sizeof(struct gpio_bank),
};