diff --git a/target/linux/lantiq/patches-6.18/151-lantiq-ifxmips_pcie-use-of.patch b/target/linux/lantiq/patches-6.18/151-lantiq-ifxmips_pcie-use-of.patch index b7bbdf7783f..44f762f526f 100644 --- a/target/linux/lantiq/patches-6.18/151-lantiq-ifxmips_pcie-use-of.patch +++ b/target/linux/lantiq/patches-6.18/151-lantiq-ifxmips_pcie-use-of.patch @@ -262,7 +262,7 @@ Signed-off-by: Eddi De Pieri + + pcie_reset_gpio = of_get_named_gpio(node, "gpio-reset", 0); + if (gpio_is_valid(pcie_reset_gpio)) { -+ int ret = devm_gpio_request(&pdev->dev, pcie_reset_gpio, "pcie-reset"); ++ int ret = devm_gpio_request_one(&pdev->dev, pcie_reset_gpio, GPIOF_OUT_INIT_HIGH, "pcie-reset"); + if (ret) { + dev_err(&pdev->dev, "failed to request gpio %d\n", pcie_reset_gpio); + return ret;