Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 4730
b: refs/heads/master
c: 6940fab
h: refs/heads/master
v: v3
  • Loading branch information
Keiichiro Tokunaga authored and Len Brown committed Jul 12, 2005
1 parent 9601db3 commit bab7d91
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 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: 8de7a63b69a263b7549599be882d7aa15397f8b3
refs/heads/master: 6940fabaa35b893163b7043d0d1dc5d715f9e1ca
12 changes: 7 additions & 5 deletions trunk/drivers/acpi/scan.c
Original file line number Diff line number Diff line change
Expand Up @@ -1051,13 +1051,15 @@ acpi_bus_add (
/*
* Status
* ------
* See if the device is present. We always assume that non-Device()
* objects (e.g. thermal zones, power resources, processors, etc.) are
* present, functioning, etc. (at least when parent object is present).
* Note that _STA has a different meaning for some objects (e.g.
* power resources) so we need to be careful how we use it.
* See if the device is present. We always assume that non-Device
* and non-Processor objects (e.g. thermal zones, power resources,
* etc.) are present, functioning, etc. (at least when parent object
* is present). Note that _STA has a different meaning for some
* objects (e.g. power resources) so we need to be careful how we use
* it.
*/
switch (type) {
case ACPI_BUS_TYPE_PROCESSOR:
case ACPI_BUS_TYPE_DEVICE:
result = acpi_bus_get_status(device);
if (ACPI_FAILURE(result) || !device->status.present) {
Expand Down

0 comments on commit bab7d91

Please sign in to comment.