summaryrefslogtreecommitdiffstats
path: root/target/linux/bcm53xx
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2016-02-01 12:54:17 +0000
committerRafał Miłecki <zajec5@gmail.com>2016-02-01 12:54:17 +0000
commita8c2701866befcc3920628bc69e978a64dc664ab (patch)
tree98e5cf8c62f4b6b39eab544b22211a7e7a267c1f /target/linux/bcm53xx
parent8095667532fb0c4acd183d3c39d1b9863cf0dc59 (diff)
downloadmaster-31e0f0ae-a8c2701866befcc3920628bc69e978a64dc664ab.tar.gz
master-31e0f0ae-a8c2701866befcc3920628bc69e978a64dc664ab.tar.bz2
master-31e0f0ae-a8c2701866befcc3920628bc69e978a64dc664ab.zip
bcm53xx: fix bcma-hcd compilation in kernel 4.4
Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 48607
Diffstat (limited to 'target/linux/bcm53xx')
-rw-r--r--target/linux/bcm53xx/patches-4.4/810-USB-bcma-use-simpler-devm_gpiod_get.patch2
1 files changed, 1 insertions, 1 deletions
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 <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);