Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 350840
b: refs/heads/master
c: f95988d
h: refs/heads/master
v: v3
  • Loading branch information
Rafael J. Wysocki committed Jan 7, 2013
1 parent e212871 commit 074c87f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: e0ebda2ee12c261fb2f2d7abf21489b93d9caa4e
refs/heads/master: f95988de06ea62ef5bd861f06e9ef56cea405ed1
3 changes: 2 additions & 1 deletion trunk/drivers/acpi/scan.c
Original file line number Diff line number Diff line change
Expand Up @@ -1558,7 +1558,8 @@ static acpi_status acpi_bus_check_add(acpi_handle handle, u32 lvl_not_used,
return AE_CTRL_DEPTH;
}

acpi_add_single_object(&device, handle, type, sta, false);
acpi_add_single_object(&device, handle, type, sta,
type == ACPI_BUS_TYPE_POWER);
if (!device)
return AE_CTRL_DEPTH;

Expand Down

0 comments on commit 074c87f

Please sign in to comment.