aboutsummaryrefslogtreecommitdiff
path: root/drivers/acpi/sleep/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/acpi/sleep/Makefile')
-rw-r--r--drivers/acpi/sleep/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/sleep/Makefile b/drivers/acpi/sleep/Makefile
index 01a993a1d08..2bec897ab1e 100644
--- a/drivers/acpi/sleep/Makefile
+++ b/drivers/acpi/sleep/Makefile
@@ -1,5 +1,5 @@
obj-y := poweroff.o wakeup.o
-obj-y += main.o
+obj-$(CONFIG_PM_SLEEP) += main.o
obj-$(CONFIG_X86) += proc.o
EXTRA_CFLAGS += $(ACPI_CFLAGS)