summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/riscv/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/acpi/riscv/Makefile')
-rw-r--r--drivers/acpi/riscv/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/acpi/riscv/Makefile b/drivers/acpi/riscv/Makefile
index 8b3b126e0b..86b0925f61 100644
--- a/drivers/acpi/riscv/Makefile
+++ b/drivers/acpi/riscv/Makefile
@@ -1,2 +1,4 @@
# SPDX-License-Identifier: GPL-2.0-only
-obj-y += rhct.o
+obj-y += rhct.o
+obj-$(CONFIG_ACPI_PROCESSOR_IDLE) += cpuidle.o
+obj-$(CONFIG_ACPI_CPPC_LIB) += cppc.o