aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/patches-3.7/0124-pci_fix.patch
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2013-06-29 16:33:18 +0000
committerJohn Crispin <blogic@openwrt.org>2013-06-29 16:33:18 +0000
commit42f6edb43c8d168e55e74e8b1f4a6695dbbc0b8e (patch)
tree517824532009d825fa6026c3ba41c6445d4c7608 /target/linux/lantiq/patches-3.7/0124-pci_fix.patch
parent24632d6be85c4d9e408885db1b96b879060fccbd (diff)
downloadmaster-187ad058-42f6edb43c8d168e55e74e8b1f4a6695dbbc0b8e.tar.gz
master-187ad058-42f6edb43c8d168e55e74e8b1f4a6695dbbc0b8e.tar.bz2
master-187ad058-42f6edb43c8d168e55e74e8b1f4a6695dbbc0b8e.zip
lantiq: remove 3.7 kernel patches
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37084 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/lantiq/patches-3.7/0124-pci_fix.patch')
-rw-r--r--target/linux/lantiq/patches-3.7/0124-pci_fix.patch20
1 files changed, 0 insertions, 20 deletions
diff --git a/target/linux/lantiq/patches-3.7/0124-pci_fix.patch b/target/linux/lantiq/patches-3.7/0124-pci_fix.patch
deleted file mode 100644
index 831989e165..0000000000
--- a/target/linux/lantiq/patches-3.7/0124-pci_fix.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- a/arch/mips/pci/pci-lantiq.c
-+++ b/arch/mips/pci/pci-lantiq.c
-@@ -129,8 +129,15 @@ static int __devinit ltq_pci_startup(str
-
- /* setup reset gpio used by pci */
- reset_gpio = of_get_named_gpio(node, "gpio-reset", 0);
-- if (gpio_is_valid(reset_gpio))
-- devm_gpio_request(&pdev->dev, reset_gpio, "pci-reset");
-+ if (gpio_is_valid(reset_gpio)) {
-+ int ret = devm_gpio_request(&pdev->dev, reset_gpio, "pci-reset");
-+ if (ret) {
-+ dev_err(&pdev->dev,
-+ "failed to request gpio %d\n", reset_gpio);
-+ return ret;
-+ }
-+ gpio_direction_output(reset_gpio, 1);
-+ }
-
- /* enable auto-switching between PCI and EBU */
- ltq_pci_w32(0xa, PCI_CR_CLK_CTRL);