avr32: Power Management support ("standby" and "mem" modes)
[pandora-kernel.git] / arch / avr32 / mach-at32ap / Makefile
index cb44182..d5018e2 100644 (file)
@@ -1,3 +1,8 @@
 obj-y                          += pdc.o clock.o intc.o extint.o pio.o hsmc.o
 obj-$(CONFIG_CPU_AT32AP700X)   += at32ap700x.o pm-at32ap700x.o
 obj-$(CONFIG_CPU_FREQ_AT32AP)  += cpufreq.o
+obj-$(CONFIG_PM)               += pm.o
+
+ifeq ($(CONFIG_PM_DEBUG),y)
+CFLAGS_pm.o    += -DDEBUG
+endif