diff options
author | Rafał Miłecki <zajec5@gmail.com> | 2016-02-01 12:54:17 +0000 |
---|---|---|
committer | Rafał Miłecki <zajec5@gmail.com> | 2016-02-01 12:54:17 +0000 |
commit | 44730f21c0074f501424916a06adfa4b974ec4cf (patch) | |
tree | d35005ebcceb53b9a9d0e31c691c05c157cfe3af /target/linux/bcm53xx | |
parent | 83c03d0a4c9168d64a14f33dd1306bc7b88c7756 (diff) | |
download | master-187ad058-44730f21c0074f501424916a06adfa4b974ec4cf.tar.gz master-187ad058-44730f21c0074f501424916a06adfa4b974ec4cf.tar.bz2 master-187ad058-44730f21c0074f501424916a06adfa4b974ec4cf.zip |
bcm53xx: fix bcma-hcd compilation in kernel 4.4
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48607 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/bcm53xx')
-rw-r--r-- | target/linux/bcm53xx/patches-4.4/810-USB-bcma-use-simpler-devm_gpiod_get.patch | 2 |
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); |