]> git.sur5r.net Git - u-boot/blobdiff - drivers/gpio/pca953x_gpio.c
serial: serial-uclass: Add generic serial RX buffer support
[u-boot] / drivers / gpio / pca953x_gpio.c
index b81f0fa90c2f04d98bce36ac2484ba43b5a1ed33..4962f25230808d3c7fffba3a2eda89936007d025 100644 (file)
@@ -228,7 +228,7 @@ static int pca953x_get_function(struct udevice *dev, unsigned offset)
 }
 
 static int pca953x_xlate(struct udevice *dev, struct gpio_desc *desc,
-                        struct fdtdec_phandle_args *args)
+                        struct ofnode_phandle_args *args)
 {
        desc->offset = args->args[0];
        desc->flags = args->args[1] & GPIO_ACTIVE_LOW ? GPIOD_ACTIVE_LOW : 0;