ACPI: simplify processor lines in Makefile
authorLen Brown <len.brown@intel.com>
Fri, 3 Apr 2009 02:49:43 +0000 (22:49 -0400)
committerLen Brown <len.brown@intel.com>
Fri, 3 Apr 2009 02:49:43 +0000 (22:49 -0400)
Suggested-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/Makefile

index 13b611e7eade100b413d8fba9502a394ab22ed61..1f5c7a5d55c63916b2cb6500db6e582ba0635e39 100644 (file)
@@ -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