summaryrefslogtreecommitdiff
path: root/target/mips/mikrotik-rb532/patches/3.14.3/rb532-pci.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/mips/mikrotik-rb532/patches/3.14.3/rb532-pci.patch')
-rw-r--r--target/mips/mikrotik-rb532/patches/3.14.3/rb532-pci.patch26
1 files changed, 0 insertions, 26 deletions
diff --git a/target/mips/mikrotik-rb532/patches/3.14.3/rb532-pci.patch b/target/mips/mikrotik-rb532/patches/3.14.3/rb532-pci.patch
deleted file mode 100644
index c00453f36..000000000
--- a/target/mips/mikrotik-rb532/patches/3.14.3/rb532-pci.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-diff -Nur linux-3.14.3.orig/arch/mips/pci/pci.c linux-3.14.3/arch/mips/pci/pci.c
---- linux-3.14.3.orig/arch/mips/pci/pci.c 2014-05-06 16:59:58.000000000 +0200
-+++ linux-3.14.3/arch/mips/pci/pci.c 2014-05-11 10:13:26.000000000 +0200
-@@ -166,20 +166,10 @@
-
- void register_pci_controller(struct pci_controller *hose)
- {
-- struct resource *parent;
--
-- parent = hose->mem_resource->parent;
-- if (!parent)
-- parent = &iomem_resource;
--
-- if (request_resource(parent, hose->mem_resource) < 0)
-+ if (request_resource(&iomem_resource, hose->mem_resource) < 0)
- goto out;
-
-- parent = hose->io_resource->parent;
-- if (!parent)
-- parent = &ioport_resource;
--
-- if (request_resource(parent, hose->io_resource) < 0) {
-+ if (request_resource(&ioport_resource, hose->io_resource) < 0) {
- release_resource(hose->mem_resource);
- goto out;
- }