diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/powerpc/sysdev/tsi108_pci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/sysdev/tsi108_pci.c b/arch/powerpc/sysdev/tsi108_pci.c index 24e1f5a197ae..cf244a419e96 100644 --- a/arch/powerpc/sysdev/tsi108_pci.c +++ b/arch/powerpc/sysdev/tsi108_pci.c | |||
@@ -63,7 +63,7 @@ tsi108_direct_write_config(struct pci_bus *bus, unsigned int devfunc, | |||
63 | int offset, int len, u32 val) | 63 | int offset, int len, u32 val) |
64 | { | 64 | { |
65 | volatile unsigned char *cfg_addr; | 65 | volatile unsigned char *cfg_addr; |
66 | struct pci_controller *hose = bus->sysdata; | 66 | struct pci_controller *hose = pci_bus_to_host(bus); |
67 | 67 | ||
68 | if (ppc_md.pci_exclude_device) | 68 | if (ppc_md.pci_exclude_device) |
69 | if (ppc_md.pci_exclude_device(hose, bus->number, devfunc)) | 69 | if (ppc_md.pci_exclude_device(hose, bus->number, devfunc)) |
@@ -149,7 +149,7 @@ tsi108_direct_read_config(struct pci_bus *bus, unsigned int devfn, int offset, | |||
149 | int len, u32 * val) | 149 | int len, u32 * val) |
150 | { | 150 | { |
151 | volatile unsigned char *cfg_addr; | 151 | volatile unsigned char *cfg_addr; |
152 | struct pci_controller *hose = bus->sysdata; | 152 | struct pci_controller *hose = pci_bus_to_host(bus); |
153 | u32 temp; | 153 | u32 temp; |
154 | 154 | ||
155 | if (ppc_md.pci_exclude_device) | 155 | if (ppc_md.pci_exclude_device) |