Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 47229
b: refs/heads/master
c: 66e2778
h: refs/heads/master
i:
  47227: 168c7cb
v: v3
  • Loading branch information
Martin Langer authored and Jaroslav Kysela committed Feb 9, 2007
1 parent 2dadeb7 commit c7c8dd5
Show file tree
Hide file tree
Showing 2 changed files with 5 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: d0b0fac14edf81dc62615cd757e7c73d2059152c
refs/heads/master: 66e27788a33636cf0d9bf22eb9d56a7f4ffa3a84
4 changes: 4 additions & 0 deletions trunk/sound/ac97_bus.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ static int ac97_bus_match(struct device *dev, struct device_driver *drv)
return 1;
}

#ifdef CONFIG_PM
static int ac97_bus_suspend(struct device *dev, pm_message_t state)
{
int ret = 0;
Expand All @@ -45,12 +46,15 @@ static int ac97_bus_resume(struct device *dev)

return ret;
}
#endif /* CONFIG_PM */

struct bus_type ac97_bus_type = {
.name = "ac97",
.match = ac97_bus_match,
#ifdef CONFIG_PM
.suspend = ac97_bus_suspend,
.resume = ac97_bus_resume,
#endif /* CONFIG_PM */
};

static int __init ac97_bus_init(void)
Expand Down

0 comments on commit c7c8dd5

Please sign in to comment.