powerpc: Fix compilation for 32-bit configs

Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:
Paul Mackerras
2005-10-10 22:58:10 +10:00
parent c5200c90db
commit e574d238ab
3 changed files with 10 additions and 22 deletions

View File

@@ -79,6 +79,11 @@ struct pci_controller {
struct resource mem_space;
};
static inline struct pci_controller *pci_bus_to_host(struct pci_bus *bus)
{
return bus->sysdata;
}
/* These are used for config access before all the PCI probing
has been done. */
int early_read_config_byte(struct pci_controller *hose, int bus, int dev_fn,