summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mx2/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-mx2/Makefile')
-rw-r--r--arch/arm/mach-mx2/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-mx2/Makefile b/arch/arm/mach-mx2/Makefile
index b9b1cca4e9b..a7e2f5264bc 100644
--- a/arch/arm/mach-mx2/Makefile
+++ b/arch/arm/mach-mx2/Makefile
@@ -12,6 +12,11 @@ obj-$(CONFIG_MACH_MX27) += cpu_imx27.o
obj-$(CONFIG_MACH_MX27) += clock_imx27.o
obj-$(CONFIG_MACH_MX21ADS) += mx21ads.o
+
+ifeq ($(CONFIG_CPU_FREQ),y)
+obj-$(CONFIG_MACH_MX27) += cpufreq_imx27.o
+endif
+
obj-$(CONFIG_MACH_MX27ADS) += mx27ads.o
obj-$(CONFIG_MACH_PCM038) += pcm038.o
obj-$(CONFIG_MACH_PCM970_BASEBOARD) += pcm970-baseboard.o