Author: rmilecki Date: 2016-02-01 13:54:17 +0100 (Mon, 01 Feb 2016) New Revision: 48607
Modified: trunk/target/linux/bcm53xx/patches-4.4/810-USB-bcma-use-simpler-devm_gpiod_get.patch Log: bcm53xx: fix bcma-hcd compilation in kernel 4.4 Signed-off-by: Rafa?\197?\130 Mi?\197?\130ecki <[email protected]> Modified: trunk/target/linux/bcm53xx/patches-4.4/810-USB-bcma-use-simpler-devm_gpiod_get.patch =================================================================== --- trunk/target/linux/bcm53xx/patches-4.4/810-USB-bcma-use-simpler-devm_gpiod_get.patch 2016-02-01 12:43:04 UTC (rev 48606) +++ trunk/target/linux/bcm53xx/patches-4.4/810-USB-bcma-use-simpler-devm_gpiod_get.patch 2016-02-01 12:54:17 UTC (rev 48607) @@ -18,7 +18,7 @@ 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); _______________________________________________ openwrt-commits mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits
