summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorBjorn Helgaas <bjorn.helgaas@hp.com>2009-04-28 00:33:46 +0200
committerLen Brown <len.brown@intel.com>2009-05-28 03:14:28 +0200
commit9eccbc2f67efd0d19c47f40182abf2965c287add (patch)
tree3460068a0d97b3dcbb9da2e2ce95720f60d571a5 /drivers
parentACPI: processor: check for synthetic _HID, default to "Device" declaration (diff)
downloadlinux-9eccbc2f67efd0d19c47f40182abf2965c287add.tar.xz
linux-9eccbc2f67efd0d19c47f40182abf2965c287add.zip
ACPI: processor: move device _HID into driver
The ACPI0007 _HID used for processor "Device" objects in the namespace is not needed outside the processor driver, so move it there. Also, the #define is only used once, so just remove it and hard-code "ACPI0007". Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/acpi/processor_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/processor_core.c b/drivers/acpi/processor_core.c
index cf627d64cde9..cabff4cb21f0 100644
--- a/drivers/acpi/processor_core.c
+++ b/drivers/acpi/processor_core.c
@@ -89,7 +89,7 @@ static int acpi_processor_handle_eject(struct acpi_processor *pr);
static const struct acpi_device_id processor_device_ids[] = {
{ACPI_PROCESSOR_OBJECT_HID, 0},
- {ACPI_PROCESSOR_HID, 0},
+ {"ACPI0007", 0},
{"", 0},
};
MODULE_DEVICE_TABLE(acpi, processor_device_ids);