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 | a8c2701866befcc3920628bc69e978a64dc664ab (patch) | |
tree | 98e5cf8c62f4b6b39eab544b22211a7e7a267c1f /target/linux/bcm53xx/patches-4.4 | |
parent | 8095667532fb0c4acd183d3c39d1b9863cf0dc59 (diff) | |
download | mtk-20170518-a8c2701866befcc3920628bc69e978a64dc664ab.zip mtk-20170518-a8c2701866befcc3920628bc69e978a64dc664ab.tar.gz mtk-20170518-a8c2701866befcc3920628bc69e978a64dc664ab.tar.bz2 |
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/patches-4.4')
-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 fd2e38a..d8647a8 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); |