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 <[email protected]>
Reported-by: Waldemar Brodkorb <[email protected]>
Cc: [email protected]
Cc: Gabor Juhos <[email protected]>
Patchwork: https://patchwork.linux-mips.org/patch/6940/
Signed-off-by: Ralf Baechle <[email protected]>
This commit is contained in:
Gabor Juhos authored and Ralf Baechle committed 2014-05-26 09:02:06 +02:00
1 parent 2ff89d64f2
commit 66ef3fab94
1 file changed
-1
-1
View File
@@ -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
};