From 8d86073830ae6c9ec6fee10cc65ba34cf91984da Mon Sep 17 00:00:00 2001 From: Patrick Mochel Date: Wed, 12 Feb 2003 23:52:31 -0600 Subject: [PATCH] acpi: Only build sleep directory if we have rest of bus support. --- drivers/acpi/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/acpi/Makefile b/drivers/acpi/Makefile index ee03719995e2..5db5f58e152f 100644 --- a/drivers/acpi/Makefile +++ b/drivers/acpi/Makefile @@ -30,7 +30,7 @@ obj-$(CONFIG_ACPI_INTERPRETER) += osl.o utils.o \ # # ACPI Bus and Device Drivers # -obj-y += sleep/ +obj-$(CONFIG_ACPI_BUS) += sleep/ obj-$(CONFIG_ACPI_BUS) += bus.o obj-$(CONFIG_ACPI_AC) += ac.o obj-$(CONFIG_ACPI_BATTERY) += battery.o -- 2.39.5