Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 367411
b: refs/heads/master
c: 4eeb587
h: refs/heads/master
i:
  367409: ee18b41
  367407: dccf882
v: v3
  • Loading branch information
Jingoo Han authored and James Bottomley committed Apr 11, 2013
1 parent 44266f5 commit 14cfd9a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7a3ad3920de780e3da1dacabe3c0abcd5b260655
refs/heads/master: 4eeb587e4b62749c544e0e3bf62c0934d1b3852b
6 changes: 2 additions & 4 deletions trunk/drivers/scsi/isci/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -721,7 +721,7 @@ static void isci_pci_remove(struct pci_dev *pdev)
}
}

#ifdef CONFIG_PM
#ifdef CONFIG_PM_SLEEP
static int isci_suspend(struct device *dev)
{
struct pci_dev *pdev = to_pci_dev(dev);
Expand Down Expand Up @@ -770,18 +770,16 @@ static int isci_resume(struct device *dev)

return 0;
}
#endif

static SIMPLE_DEV_PM_OPS(isci_pm_ops, isci_suspend, isci_resume);
#endif

static struct pci_driver isci_pci_driver = {
.name = DRV_NAME,
.id_table = isci_id_table,
.probe = isci_pci_probe,
.remove = isci_pci_remove,
#ifdef CONFIG_PM
.driver.pm = &isci_pm_ops,
#endif
};

static __init int isci_init(void)
Expand Down

0 comments on commit 14cfd9a

Please sign in to comment.