summaryrefslogtreecommitdiff
path: root/drivers/gpio/xilinx_gpio.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpio/xilinx_gpio.c')
-rw-r--r--drivers/gpio/xilinx_gpio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpio/xilinx_gpio.c b/drivers/gpio/xilinx_gpio.c
index 014f120d60..1bb70b12c9 100644
--- a/drivers/gpio/xilinx_gpio.c
+++ b/drivers/gpio/xilinx_gpio.c
@@ -307,6 +307,6 @@ U_BOOT_DRIVER(xilinx_gpio) = {
.of_match = xilinx_gpio_ids,
.ofdata_to_platdata = xilinx_gpio_ofdata_to_platdata,
.probe = xilinx_gpio_probe,
- .platdata_auto_alloc_size = sizeof(struct xilinx_gpio_platdata),
- .priv_auto_alloc_size = sizeof(struct xilinx_gpio_privdata),
+ .platdata_auto = sizeof(struct xilinx_gpio_platdata),
+ .priv_auto = sizeof(struct xilinx_gpio_privdata),
};