summaryrefslogtreecommitdiff
path: root/drivers/gpio/pcf8575_gpio.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpio/pcf8575_gpio.c')
-rw-r--r--drivers/gpio/pcf8575_gpio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/pcf8575_gpio.c b/drivers/gpio/pcf8575_gpio.c
index 570486fc48..3eed9e93c2 100644
--- a/drivers/gpio/pcf8575_gpio.c
+++ b/drivers/gpio/pcf8575_gpio.c
@@ -175,7 +175,7 @@ U_BOOT_DRIVER(gpio_pcf8575) = {
.id = UCLASS_GPIO,
.ops = &pcf8575_gpio_ops,
.of_match = pcf8575_gpio_ids,
- .ofdata_to_platdata = pcf8575_ofdata_platdata,
+ .of_to_plat = pcf8575_ofdata_platdata,
.probe = pcf8575_gpio_probe,
.plat_auto = sizeof(struct pcf8575_chip),
};