From: Dominik Brodowski Date: Tue, 12 Jul 2005 20:58:15 +0000 (-0700) Subject: [PATCH] yenta: fix parent resource determination X-Git-Tag: v2.6.13-rc3~50 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=862104e56329babf0b9571281e9516fe6259dd17;p=pandora-kernel.git [PATCH] yenta: fix parent resource determination If the CardBus windows were pre-configured and the CardBus bridge is behind a transparent PCI-PCI bridge, pci_find_parent_resource() might return a different resource than the real parent if it is called before the window is determined. Therefore, move that call around. Also fix return of value in void function. Signed-off-by: Dominik Brodowski Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed