aboutsummaryrefslogtreecommitdiff
path: root/drivers/acpi/scan.c
diff options
context:
space:
mode:
authorMyron Stowe <myron.stowe@hp.com>2008-11-04 14:52:55 -0700
committerLen Brown <len.brown@intel.com>2008-11-06 20:11:15 -0500
commitad93a765c1834db031b5bf1c2baf2a50d0462ca4 (patch)
tree4494d6814fd2d51a243794b4616f869b34a1b6bc /drivers/acpi/scan.c
parent457d2ee225801441e96f2e35894ec404572ad862 (diff)
downloadlinux-linaro-android-ad93a765c1834db031b5bf1c2baf2a50d0462ca4.tar.gz
ACPI: Disambiguate processor declaration type
Declaring processors in ACPI namespace can be done using either a "Processor" definition or a "Device" definition (see section 8.4 - Declaring Processors; "Advanced Configuration and Power Interface Specification", Revision 3.0b). Currently the two processor declaration types are conflated. This patch disambiguates the processor declaration's definition type enabling subsequent code to behave uniquely based explicitly on the declaration's type. Signed-off-by: Myron Stowe <myron.stowe@hp.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/scan.c')
-rw-r--r--drivers/acpi/scan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/scan.c b/drivers/acpi/scan.c
index a9dda8e0f9f..3fb6e2db585 100644
--- a/drivers/acpi/scan.c
+++ b/drivers/acpi/scan.c
@@ -1043,7 +1043,7 @@ static void acpi_device_set_id(struct acpi_device *device,
hid = ACPI_POWER_HID;
break;
case ACPI_BUS_TYPE_PROCESSOR:
- hid = ACPI_PROCESSOR_HID;
+ hid = ACPI_PROCESSOR_OBJECT_HID;
break;
case ACPI_BUS_TYPE_SYSTEM:
hid = ACPI_SYSTEM_HID;