summaryrefslogtreecommitdiff
path: root/drivers/gpio/bcm6345_gpio.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpio/bcm6345_gpio.c')
-rw-r--r--drivers/gpio/bcm6345_gpio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/bcm6345_gpio.c b/drivers/gpio/bcm6345_gpio.c
index 5da11d988e..e031f71a78 100644
--- a/drivers/gpio/bcm6345_gpio.c
+++ b/drivers/gpio/bcm6345_gpio.c
@@ -114,6 +114,6 @@ U_BOOT_DRIVER(bcm6345_gpio) = {
.id = UCLASS_GPIO,
.of_match = bcm6345_gpio_ids,
.ops = &bcm6345_gpio_ops,
- .priv_auto_alloc_size = sizeof(struct bcm6345_gpio_priv),
+ .priv_auto = sizeof(struct bcm6345_gpio_priv),
.probe = bcm6345_gpio_probe,
};