浏览代码

bcm53xx: fix bcma-hcd compilation in kernel 4.4

Signed-off-by: Rafał Miłecki <[email protected]>

SVN-Revision: 48607
Rafał Miłecki 9 年之前
父节点
当前提交
a8c2701866
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      target/linux/bcm53xx/patches-4.4/810-USB-bcma-use-simpler-devm_gpiod_get.patch

+ 1 - 1
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 <[email protected]>
  	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);