diff options
Diffstat (limited to 'drivers/pci/pci.c')
-rw-r--r-- | drivers/pci/pci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c index 9354dd63f035..c3ef2e78fc58 100644 --- a/drivers/pci/pci.c +++ b/drivers/pci/pci.c | |||
@@ -393,8 +393,8 @@ pci_restore_bars(struct pci_dev *dev) | |||
393 | return; | 393 | return; |
394 | } | 394 | } |
395 | 395 | ||
396 | for (i = 0; i < numres; i ++) | 396 | for (i = 0; i < numres; i++) |
397 | pci_update_resource(dev, &dev->resource[i], i); | 397 | pci_update_resource(dev, i); |
398 | } | 398 | } |
399 | 399 | ||
400 | static struct pci_platform_pm_ops *pci_platform_pm; | 400 | static struct pci_platform_pm_ops *pci_platform_pm; |