[PATCH v1 2/3] iommu/riscv: Add Makefile support for RISC-V IOMMU perf driver

Yaxing Guo
2025-09-15T02:10:19Z

Add compilation rules for iommu-perf.o to support
the new RISC-V IOMMU perf driver.

Signed-off-by: Yaxing Guo <guoyaxing@bosc.ac.cn>
---
drivers/iommu/riscv/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/iommu/riscv/Makefile b/drivers/iommu/riscv/Makefile
index b5929f9f23e6..5e9c7c1ed928 100644
--- a/drivers/iommu/riscv/Makefile
+++ b/drivers/iommu/riscv/Makefile
@@ -1,3 +1,3 @@
# SPDX-License-Identifier: GPL-2.0-only
-obj-y += iommu.o iommu-platform.o
+obj-y += iommu.o iommu-platform.o iommu-perf.o
obj-$(CONFIG_RISCV_IOMMU_PCI) += iommu-pci.o
--
2.34.1