diff options
Diffstat (limited to 'drivers/pci/hotplug/acpiphp_glue.c')
-rw-r--r-- | drivers/pci/hotplug/acpiphp_glue.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/pci/hotplug/acpiphp_glue.c b/drivers/pci/hotplug/acpiphp_glue.c index 1b19b7ec3e8c..7a5760426897 100644 --- a/drivers/pci/hotplug/acpiphp_glue.c +++ b/drivers/pci/hotplug/acpiphp_glue.c | |||
@@ -167,9 +167,9 @@ static int post_dock_fixups(struct notifier_block *nb, unsigned long val, | |||
167 | 167 | ||
168 | if (((buses >> 8) & 0xff) != bus->secondary) { | 168 | if (((buses >> 8) & 0xff) != bus->secondary) { |
169 | buses = (buses & 0xff000000) | 169 | buses = (buses & 0xff000000) |
170 | | ((unsigned int)(bus->primary) << 0) | 170 | | ((unsigned int)(bus->primary) << 0) |
171 | | ((unsigned int)(bus->secondary) << 8) | 171 | | ((unsigned int)(bus->secondary) << 8) |
172 | | ((unsigned int)(bus->subordinate) << 16); | 172 | | ((unsigned int)(bus->subordinate) << 16); |
173 | pci_write_config_dword(bus->self, PCI_PRIMARY_BUS, buses); | 173 | pci_write_config_dword(bus->self, PCI_PRIMARY_BUS, buses); |
174 | } | 174 | } |
175 | return NOTIFY_OK; | 175 | return NOTIFY_OK; |