diff options
author | Rafał Miłecki <zajec5@gmail.com> | 2016-01-04 12:28:46 +0000 |
---|---|---|
committer | Rafał Miłecki <zajec5@gmail.com> | 2016-01-04 12:28:46 +0000 |
commit | e17c1e45adccd16928aec1ff0fca41032688a4f9 (patch) | |
tree | 5edfe805136bfc918f0d179ea93059051171befa /target | |
parent | ccb7d794ff2ea14369c1759a1e2bcf885e64d456 (diff) | |
download | mtk-20170518-e17c1e45adccd16928aec1ff0fca41032688a4f9.zip mtk-20170518-e17c1e45adccd16928aec1ff0fca41032688a4f9.tar.gz mtk-20170518-e17c1e45adccd16928aec1ff0fca41032688a4f9.tar.bz2 |
bcm53xx: fix USB patch breaking 4.4 compilation
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 48112
Diffstat (limited to 'target')
-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 32a5113..a2c9b12 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 (dev->dev.of_node) - usb_dev->gpio_desc = devm_get_gpiod_from_child(&dev->dev, "vcc", - &dev->dev.of_node->fwnode); -+ usb_dev->gpio_desc = devm_gpiod_get(&dev->dev, "vcc"); ++ usb_dev->gpio_desc = devm_gpiod_get(&dev->dev, "vcc", 0); if (!IS_ERR_OR_NULL(usb_dev->gpio_desc)) gpiod_direction_output(usb_dev->gpio_desc, 1); |