
Dear Kumar Gala,
In message 1294183251-4905-1-git-send-email-galak@kernel.crashing.org you wrote:
Previously we passed in a specifically named struct pci_controller to determine if we had setup the particular PCI bus. Now we can search for the struct so we dont have to depend on the name or the struct being statically allocated.
Introduced new find_hose_by_cfg_addr() to get back a pci_controller struct back by searching for it means we can do things like dynamically allocate them or not have to expose the static structures to all users.
Signed-off-by: Kumar Gala galak@kernel.crashing.org
- Merged with find_hose_by_cfg_addr patch
- Fixed find_hose_by_cfg_addr to have { } for multiline for
arch/powerpc/include/asm/fsl_pci.h | 43 ++--------------------------------- drivers/pci/fsl_pci_init.c | 5 +++- drivers/pci/pci.c | 12 ++++++++++ include/pci.h | 1 + 4 files changed, 20 insertions(+), 41 deletions(-)
Acked-by: Wolfgang Denk wd@denx.de
Best regards,
Wolfgang Denk