Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 95828
b: refs/heads/master
c: 33139b2
h: refs/heads/master
v: v3
  • Loading branch information
Jiri Slaby authored and James Bottomley committed May 2, 2008
1 parent a7d5a79 commit f369f61
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 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: 655d722cf7812078306f975a3afe88b96a1306b8
refs/heads/master: 33139b21013aba815924b421159fab35e5175483
11 changes: 8 additions & 3 deletions trunk/drivers/scsi/megaraid/megaraid_sas.c
Original file line number Diff line number Diff line change
Expand Up @@ -2650,12 +2650,13 @@ static void megasas_shutdown_controller(struct megasas_instance *instance,
return;
}

#ifdef CONFIG_PM
/**
* megasas_suspend - driver suspend entry point
* @pdev: PCI device structure
* @state: PCI power state to suspend routine
*/
static int __devinit
static int
megasas_suspend(struct pci_dev *pdev, pm_message_t state)
{
struct Scsi_Host *host;
Expand Down Expand Up @@ -2687,7 +2688,7 @@ megasas_suspend(struct pci_dev *pdev, pm_message_t state)
* megasas_resume- driver resume entry point
* @pdev: PCI device structure
*/
static int __devinit
static int
megasas_resume(struct pci_dev *pdev)
{
int rval;
Expand Down Expand Up @@ -2782,12 +2783,16 @@ megasas_resume(struct pci_dev *pdev)

return -ENODEV;
}
#else
#define megasas_suspend NULL
#define megasas_resume NULL
#endif

/**
* megasas_detach_one - PCI hot"un"plug entry point
* @pdev: PCI device structure
*/
static void megasas_detach_one(struct pci_dev *pdev)
static void __devexit megasas_detach_one(struct pci_dev *pdev)
{
int i;
struct Scsi_Host *host;
Expand Down

0 comments on commit f369f61

Please sign in to comment.