From: Rafał Miłecki Date: Mon, 1 Feb 2016 12:54:17 +0000 (+0000) Subject: bcm53xx: fix bcma-hcd compilation in kernel 4.4 X-Git-Tag: reboot~534 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=a8c2701866befcc3920628bc69e978a64dc664ab;p=openwrt%2Fstaging%2Fchunkeey.git bcm53xx: fix bcma-hcd compilation in kernel 4.4 Signed-off-by: Rafał Miłecki SVN-Revision: 48607 --- diff --git a/target/linux/bcm53xx/patches-4.4/810-USB-bcma-use-simpler-devm_gpiod_get.patch b/target/linux/bcm53xx/patches-4.4/810-USB-bcma-use-simpler-devm_gpiod_get.patch index fd2e38a093..d8647a8e15 100644 --- a/target/linux/bcm53xx/patches-4.4/810-USB-bcma-use-simpler-devm_gpiod_get.patch +++ b/target/linux/bcm53xx/patches-4.4/810-USB-bcma-use-simpler-devm_gpiod_get.patch @@ -18,7 +18,7 @@ Signed-off-by: Rafał Miłecki if (core->dev.of_node) - usb_dev->gpio_desc = devm_get_gpiod_from_child(&core->dev, "vcc", - &core->dev.of_node->fwnode); -+ usb_dev->gpio_desc = devm_gpiod_get(&dev->dev, "vcc", 0); ++ usb_dev->gpio_desc = devm_gpiod_get(&core->dev, "vcc", 0); if (!IS_ERR_OR_NULL(usb_dev->gpio_desc)) gpiod_direction_output(usb_dev->gpio_desc, 1);