summaryrefslogtreecommitdiff
path: root/drivers/gpio/nx_gpio.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpio/nx_gpio.c')
-rw-r--r--drivers/gpio/nx_gpio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/nx_gpio.c b/drivers/gpio/nx_gpio.c
index 5ec73c4359..1bd12f1568 100644
--- a/drivers/gpio/nx_gpio.c
+++ b/drivers/gpio/nx_gpio.c
@@ -245,6 +245,6 @@ U_BOOT_DRIVER(nx_gpio) = {
.of_match = nx_gpio_ids,
.ops = &nx_gpio_ops,
.ofdata_to_platdata = nx_gpio_ofdata_to_platdata,
- .platdata_auto_alloc_size = sizeof(struct nx_gpio_platdata),
+ .platdata_auto = sizeof(struct nx_gpio_platdata),
.probe = nx_gpio_probe,
};