summaryrefslogtreecommitdiffstats
path: root/include/acpi/acpi_drivers.h
diff options
context:
space:
mode:
authorBjorn Helgaas2008-11-08 00:57:45 +0100
committerLen Brown2008-11-08 03:44:37 +0100
commit89595b8f2850a080d290bf778ec933ea1d99f78e (patch)
tree63a6682ede74d9570878b0d7d4d936e050439ba7 /include/acpi/acpi_drivers.h
parentACPI: use macro to replace hard number (diff)
downloadkernel-qcow2-linux-89595b8f2850a080d290bf778ec933ea1d99f78e.tar.gz
kernel-qcow2-linux-89595b8f2850a080d290bf778ec933ea1d99f78e.tar.xz
kernel-qcow2-linux-89595b8f2850a080d290bf778ec933ea1d99f78e.zip
ACPI: consolidate ACPI_*_COMPONENT definitions in acpi_drivers.h
Move all the component definitions for drivers to a single shared place, include/acpi/acpi_drivers.h. Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'include/acpi/acpi_drivers.h')
-rw-r--r--include/acpi/acpi_drivers.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/include/acpi/acpi_drivers.h b/include/acpi/acpi_drivers.h
index b3c40dc9d6ba..8778a3a00bcb 100644
--- a/include/acpi/acpi_drivers.h
+++ b/include/acpi/acpi_drivers.h
@@ -32,7 +32,19 @@
#define ACPI_MAX_STRING 80
#define ACPI_BUS_COMPONENT 0x00010000
+#define ACPI_AC_COMPONENT 0x00020000
+#define ACPI_BATTERY_COMPONENT 0x00040000
+#define ACPI_BUTTON_COMPONENT 0x00080000
+#define ACPI_SBS_COMPONENT 0x00080000
+#define ACPI_FAN_COMPONENT 0x00200000
+#define ACPI_PCI_COMPONENT 0x00400000
+#define ACPI_POWER_COMPONENT 0x00800000
+#define ACPI_CONTAINER_COMPONENT 0x01000000
+#define ACPI_PROCESSOR_COMPONENT 0x01000000
#define ACPI_SYSTEM_COMPONENT 0x02000000
+#define ACPI_THERMAL_COMPONENT 0x04000000
+#define ACPI_MEMORY_DEVICE_COMPONENT 0x08000000
+#define ACPI_VIDEO_COMPONENT 0x08000000
/*
* _HID definitions
@@ -54,7 +66,6 @@
PCI
-------------------------------------------------------------------------- */
-#define ACPI_PCI_COMPONENT 0x00400000
/* ACPI PCI Interrupt Link (pci_link.c) */