summaryrefslogtreecommitdiff
path: root/drivers/gpio/cortina_gpio.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpio/cortina_gpio.c')
-rw-r--r--drivers/gpio/cortina_gpio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/cortina_gpio.c b/drivers/gpio/cortina_gpio.c
index 055907c1a1..72ef523be9 100644
--- a/drivers/gpio/cortina_gpio.c
+++ b/drivers/gpio/cortina_gpio.c
@@ -107,7 +107,7 @@ U_BOOT_DRIVER(cortina_gpio) = {
.id = UCLASS_GPIO,
.ops = &gpio_cortina_ops,
.probe = ca_gpio_probe,
- .priv_auto_alloc_size = sizeof(struct cortina_gpio_bank),
+ .priv_auto = sizeof(struct cortina_gpio_bank),
.of_match = ca_gpio_ids,
};
#endif /* CONFIG_DM_GPIO */