Author: rmilecki
Date: 2016-01-04 13:28:46 +0100 (Mon, 04 Jan 2016)
New Revision: 48112

Modified:
   
trunk/target/linux/bcm53xx/patches-4.4/810-USB-bcma-use-simpler-devm_gpiod_get.patch
Log:
bcm53xx: fix USB patch breaking 4.4 compilation

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-01-04 12:22:24 UTC (rev 48111)
+++ 
trunk/target/linux/bcm53xx/patches-4.4/810-USB-bcma-use-simpler-devm_gpiod_get.patch
        2016-01-04 12:28:46 UTC (rev 48112)
@@ -18,7 +18,7 @@
        if (dev->dev.of_node)
 -              usb_dev->gpio_desc = devm_get_gpiod_from_child(&dev->dev, "vcc",
 -                                                             
&dev->dev.of_node->fwnode);
-+              usb_dev->gpio_desc = devm_gpiod_get(&dev->dev, "vcc");
++              usb_dev->gpio_desc = devm_gpiod_get(&dev->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

Reply via email to