summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2014-05-15 10:35:44 +0200
committerRalf Baechle <ralf@linux-mips.org>2014-05-26 09:02:06 +0200
commit66ef3fab94df1004ed02c292d3d4e78485bfc615 (patch)
treeb7d8df383cb56652fbb403b401deea36174d3d3c /arch
parent2ff89d64f23e99da64995844ea42c83b0b4d58c6 (diff)
downloadop-kernel-dev-66ef3fab94df1004ed02c292d3d4e78485bfc615.zip
op-kernel-dev-66ef3fab94df1004ed02c292d3d4e78485bfc615.tar.gz
MIPS: RC32434: fix broken PCI resource initialization
The parent field of the 'rc32434_res_pci_mem1' resource points to the resource itself which is obviously wrong. Due to the broken initialitazion, the PCI devices on the Mikrotik RB532 boards are not working since commit 22283178 (MIPS: avoid possible resource conflict in register_pci_controller). Remove the field initialization to fix the issue. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> Reported-by: Waldemar Brodkorb <wbx@openadk.org> Cc: linux-mips@linux-mips.org Cc: Gabor Juhos <juhosg@openwrt.org> Patchwork: https://patchwork.linux-mips.org/patch/6940/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/mips/pci/pci-rc32434.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/mips/pci/pci-rc32434.c b/arch/mips/pci/pci-rc32434.c
index b128cb9..7f6ce6d 100644
--- a/arch/mips/pci/pci-rc32434.c
+++ b/arch/mips/pci/pci-rc32434.c
@@ -53,7 +53,6 @@ static struct resource rc32434_res_pci_mem1 = {
.start = 0x50000000,
.end = 0x5FFFFFFF,
.flags = IORESOURCE_MEM,
- .parent = &rc32434_res_pci_mem1,
.sibling = NULL,
.child = &rc32434_res_pci_mem2
};
OpenPOWER on IntegriCloud