Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 195907
b: refs/heads/master
c: b2aaf7a
h: refs/heads/master
i:
  195905: 8c0146d
  195903: b7d89f3
v: v3
  • Loading branch information
Randy Dunlap authored and David Woodhouse committed Mar 9, 2010
1 parent aaac806 commit f461287
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: fb45d3232c641bfee5000c8a81e2005903734702
refs/heads/master: b2aaf7a2b476820cf5fd7738e8641ed88046acf5
5 changes: 5 additions & 0 deletions trunk/drivers/mtd/nand/r852.c
Original file line number Diff line number Diff line change
Expand Up @@ -1019,6 +1019,7 @@ void r852_shutdown(struct pci_dev *pci_dev)
pci_disable_device(pci_dev);
}

#ifdef CONFIG_PM
int r852_suspend(struct device *device)
{
struct r852_device *dev = pci_get_drvdata(to_pci_dev(device));
Expand Down Expand Up @@ -1093,6 +1094,10 @@ int r852_resume(struct device *device)
r852_update_card_detect(dev);
return 0;
}
#else
#define r852_suspend NULL
#define r852_resume NULL
#endif

static const struct pci_device_id r852_pci_id_tbl[] = {

Expand Down

0 comments on commit f461287

Please sign in to comment.