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 | d6a84eed7a201fc525cf6f2bfba303407221cd80 (patch) | |
tree | b563ba7b3f15a888cbb1f2feda6eb70e81a2f29d /target | |
parent | 839a8e2895a9cacca56013b94bc45c699d02528f (diff) | |
download | master-187ad058-d6a84eed7a201fc525cf6f2bfba303407221cd80.tar.gz master-187ad058-d6a84eed7a201fc525cf6f2bfba303407221cd80.tar.bz2 master-187ad058-d6a84eed7a201fc525cf6f2bfba303407221cd80.zip |
bcm53xx: fix USB patch breaking 4.4 compilation
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48112 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 32a5113845..a2c9b12051 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); |