aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/processor_perflib.c
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2009-07-28 16:45:54 -0400
committerLen Brown <len.brown@intel.com>2009-08-28 19:57:27 -0400
commita192a9580bcc41692be1f36b77c3b681827f566a (patch)
tree8cf1637f87faa880fdffab62a701b47f699945f9 /drivers/acpi/processor_perflib.c
parentACPI, x86: expose some IO-APIC routines when CONFIG_ACPI=n (diff)
downloadlinux-dev-a192a9580bcc41692be1f36b77c3b681827f566a.tar.xz
linux-dev-a192a9580bcc41692be1f36b77c3b681827f566a.zip
ACPI: Move definition of PREFIX from acpi_bus.h to internal..h
Linux/ACPI core files using internal.h all PREFIX "ACPI: ", however, not all ACPI drivers use/want it -- and they should not have to #undef PREFIX to define their own. Add GPL commment to internal.h while we are there. This does not change any actual console output, asside from a whitespace fix. Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/processor_perflib.c')
-rw-r--r--drivers/acpi/processor_perflib.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/acpi/processor_perflib.c b/drivers/acpi/processor_perflib.c
index 60e543d3234e..11088cf10319 100644
--- a/drivers/acpi/processor_perflib.c
+++ b/drivers/acpi/processor_perflib.c
@@ -39,6 +39,8 @@
#include <acpi/acpi_drivers.h>
#include <acpi/processor.h>
+#define PREFIX "ACPI: "
+
#define ACPI_PROCESSOR_CLASS "processor"
#define ACPI_PROCESSOR_FILE_PERFORMANCE "performance"
#define _COMPONENT ACPI_PROCESSOR_COMPONENT