mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2025-01-18 12:50:51 +00:00
bcm53xx: fix bcma-hcd compilation in kernel 4.4
Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 48607
This commit is contained in:
parent
8095667532
commit
a8c2701866
@ -18,7 +18,7 @@ Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
|
||||
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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user