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/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/acpi/sleep/Makefile b/drivers/acpi/sleep/Makefile
index 01a993a1d08..195a4f69c0f 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_X86) += proc.o
+obj-$(CONFIG_ACPI_SLEEP) += main.o
+obj-$(CONFIG_ACPI_SLEEP) += proc.o
EXTRA_CFLAGS += $(ACPI_CFLAGS)