Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 312726
b: refs/heads/master
c: d181b49
h: refs/heads/master
v: v3
  • Loading branch information
Rafael J. Wysocki committed Jul 12, 2012
1 parent 1aa9150 commit b216532
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: d8150d350408de6fb2b9ee7b7625ae8e2bb7aa4a
refs/heads/master: d181b49eb3d76ed6a134cb599456176f466047c0
4 changes: 4 additions & 0 deletions trunk/drivers/base/power/sysfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -474,6 +474,8 @@ static DEVICE_ATTR(runtime_enabled, 0444, rtpm_enabled_show, NULL);

#endif

#ifdef CONFIG_PM_SLEEP

static ssize_t async_show(struct device *dev, struct device_attribute *attr,
char *buf)
{
Expand All @@ -500,6 +502,8 @@ static ssize_t async_store(struct device *dev, struct device_attribute *attr,
}

static DEVICE_ATTR(async, 0644, async_show, async_store);

#endif
#endif /* CONFIG_PM_ADVANCED_DEBUG */

static struct attribute *power_attrs[] = {
Expand Down

0 comments on commit b216532

Please sign in to comment.