summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/Makefile
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2009-04-02 22:49:43 -0400
committerLen Brown <len.brown@intel.com>2009-04-02 22:49:43 -0400
commitae7d51517bc3b0fe10c6af38234ef0f92bbae6a4 (patch)
tree4b103bbd959168f978ae441d1215f8351c3eb87c /drivers/acpi/Makefile
parent5b5d9117407e790ade594687010343c5d559a1f4 (diff)
downloadop-kernel-dev-ae7d51517bc3b0fe10c6af38234ef0f92bbae6a4.zip
op-kernel-dev-ae7d51517bc3b0fe10c6af38234ef0f92bbae6a4.tar.gz
ACPI: simplify processor lines in Makefile
Suggested-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/Makefile')
-rw-r--r--drivers/acpi/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/drivers/acpi/Makefile b/drivers/acpi/Makefile
index 13b611e..1f5c7a5 100644
--- a/drivers/acpi/Makefile
+++ b/drivers/acpi/Makefile
@@ -58,8 +58,7 @@ obj-$(CONFIG_ACPI_HOTPLUG_MEMORY) += acpi_memhotplug.o
obj-$(CONFIG_ACPI_SBS) += sbshc.o
obj-$(CONFIG_ACPI_SBS) += sbs.o
-processor-objs += processor_core.o processor_throttling.o \
- processor_idle.o processor_thermal.o
-ifdef CONFIG_CPU_FREQ
-processor-objs += processor_perflib.o
-endif
+# processor has its own "processor." module_param namespace
+processor-y := processor_core.o processor_throttling.o
+processor-y += processor_idle.o processor_thermal.o
+processor-$(CONFIG_CPU_FREQ) += processor_perflib.o
OpenPOWER on IntegriCloud