aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pci')
-rw-r--r--drivers/pci/hotplug/pciehp_pci.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/pci/hotplug/pciehp_pci.c b/drivers/pci/hotplug/pciehp_pci.c
index c09b0c2f8065..bc87d64a33f1 100644
--- a/drivers/pci/hotplug/pciehp_pci.c
+++ b/drivers/pci/hotplug/pciehp_pci.c
@@ -247,7 +247,7 @@ int pciehp_unconfigure_device(struct slot *p_slot)
247 dbg("%s: bus/dev = %x/%x\n", __FUNCTION__, p_slot->bus, 247 dbg("%s: bus/dev = %x/%x\n", __FUNCTION__, p_slot->bus,
248 p_slot->device); 248 p_slot->device);
249 249
250 for (j=0; j<8 ; j++) { 250 for (j = 0; j < 8; j++) {
251 struct pci_dev* temp = pci_get_slot(parent, 251 struct pci_dev* temp = pci_get_slot(parent,
252 (p_slot->device << 3) | j); 252 (p_slot->device << 3) | j);
253 if (!temp) 253 if (!temp)
@@ -283,4 +283,3 @@ int pciehp_unconfigure_device(struct slot *p_slot)
283 283
284 return rc; 284 return rc;
285} 285}
286