diff options
Diffstat (limited to 'arch/ppc64/kernel/sys_ppc32.c')
-rw-r--r-- | arch/ppc64/kernel/sys_ppc32.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/ppc64/kernel/sys_ppc32.c b/arch/ppc64/kernel/sys_ppc32.c index 214914a95a50..57a6db7d7c9c 100644 --- a/arch/ppc64/kernel/sys_ppc32.c +++ b/arch/ppc64/kernel/sys_ppc32.c | |||
@@ -747,8 +747,8 @@ asmlinkage int sys32_pciconfig_iobase(u32 which, u32 in_bus, u32 in_devfn) | |||
747 | if (bus == NULL || bus->sysdata == NULL) | 747 | if (bus == NULL || bus->sysdata == NULL) |
748 | return -ENODEV; | 748 | return -ENODEV; |
749 | 749 | ||
750 | hose_node = (struct device_node *)bus->sysdata; | 750 | hose_node = bus->sysdata; |
751 | hose = hose_node->phb; | 751 | hose = PCI_DN(hose_node)->phb; |
752 | 752 | ||
753 | switch (which) { | 753 | switch (which) { |
754 | case IOBASE_BRIDGE_NUMBER: | 754 | case IOBASE_BRIDGE_NUMBER: |