aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi
diff options
context:
space:
mode:
authorAlex Chiang <achiang@hp.com>2010-02-22 14:11:08 -0500
committerLen Brown <len.brown@intel.com>2010-03-14 21:17:16 -0400
commit0131aa3dd7dcf41c66784b96ff351f63ee3ef348 (patch)
tree0222e8ac1fdfa853814f7a98b69c91e3d7a04613 /drivers/acpi
parentbca14dd14f3b0c5e3e2d1d314679f85b67871365 (diff)
ACPI: processor: mv processor_core.c processor_driver.c
The ACPI processor driver can be built as a module. But it has pieces of code that should always be built statically into the kernel. The plan is for processor_core.c to contain the static bits while processor_driver.c contains the module-like bits. Since the bulk of the code in the current processor_core.c is module-like, first step is to rename the file to processor_driver.c Next step will re-create processor_core.c and cherry-pick out the static bits. Acked-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com> Signed-off-by: Alex Chiang <achiang@hp.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi')
-rw-r--r--drivers/acpi/Makefile2
-rw-r--r--drivers/acpi/processor_driver.c (renamed from drivers/acpi/processor_core.c)2
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/acpi/Makefile b/drivers/acpi/Makefile
index 66cc3f36a954..6b363a50d18b 100644
--- a/drivers/acpi/Makefile
+++ b/drivers/acpi/Makefile
@@ -61,7 +61,7 @@ obj-$(CONFIG_ACPI_SBS) += sbs.o
61obj-$(CONFIG_ACPI_POWER_METER) += power_meter.o 61obj-$(CONFIG_ACPI_POWER_METER) += power_meter.o
62 62
63# processor has its own "processor." module_param namespace 63# processor has its own "processor." module_param namespace
64processor-y := processor_core.o processor_throttling.o 64processor-y := processor_driver.o processor_throttling.o
65processor-y += processor_idle.o processor_thermal.o 65processor-y += processor_idle.o processor_thermal.o
66processor-$(CONFIG_CPU_FREQ) += processor_perflib.o 66processor-$(CONFIG_CPU_FREQ) += processor_perflib.o
67 67
diff --git a/drivers/acpi/processor_core.c b/drivers/acpi/processor_driver.c
index e9b7b402dbfb..7b0f4c2a06e8 100644
--- a/drivers/acpi/processor_core.c
+++ b/drivers/acpi/processor_driver.c
@@ -74,7 +74,7 @@
74#define ACPI_PROCESSOR_LIMIT_THERMAL 1 74#define ACPI_PROCESSOR_LIMIT_THERMAL 1
75 75
76#define _COMPONENT ACPI_PROCESSOR_COMPONENT 76#define _COMPONENT ACPI_PROCESSOR_COMPONENT
77ACPI_MODULE_NAME("processor_core"); 77ACPI_MODULE_NAME("processor_driver");
78 78
79MODULE_AUTHOR("Paul Diefenbaugh"); 79MODULE_AUTHOR("Paul Diefenbaugh");
80MODULE_DESCRIPTION("ACPI Processor Driver"); 80MODULE_DESCRIPTION("ACPI Processor Driver");