summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/power.c
diff options
context:
space:
mode:
authorBjorn Helgaas <bjorn.helgaas@hp.com>2008-11-07 16:57:45 -0700
committerLen Brown <len.brown@intel.com>2008-11-07 21:44:37 -0500
commit89595b8f2850a080d290bf778ec933ea1d99f78e (patch)
tree63a6682ede74d9570878b0d7d4d936e050439ba7 /drivers/acpi/power.c
parent14a63ba821ac2a0f5166789b31241c0b7eb147d9 (diff)
downloadop-kernel-dev-89595b8f2850a080d290bf778ec933ea1d99f78e.zip
op-kernel-dev-89595b8f2850a080d290bf778ec933ea1d99f78e.tar.gz
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 'drivers/acpi/power.c')
-rw-r--r--drivers/acpi/power.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/acpi/power.c b/drivers/acpi/power.c
index a1718e5..81f583f 100644
--- a/drivers/acpi/power.c
+++ b/drivers/acpi/power.c
@@ -44,9 +44,8 @@
#include <acpi/acpi_bus.h>
#include <acpi/acpi_drivers.h>
-#define _COMPONENT ACPI_POWER_COMPONENT
+#define _COMPONENT ACPI_POWER_COMPONENT
ACPI_MODULE_NAME("power");
-#define ACPI_POWER_COMPONENT 0x00800000
#define ACPI_POWER_CLASS "power_resource"
#define ACPI_POWER_DEVICE_NAME "Power Resource"
#define ACPI_POWER_FILE_INFO "info"
OpenPOWER on IntegriCloud