linux/drivers/acpi/riscv
Sunil V L e7b969cbe3 ACPI: RIMT: Fix unused function warnings when CONFIG_IOMMU_API is disabled
When CONFIG_IOMMU_API is disabled, some functions defined outside its
conditional scope become unused, triggering compiler warnings reported
by the kernel test robot.

Move these function definitions inside the #ifdef CONFIG_IOMMU_API block
to prevent unused function warnings when the configuration is disabled.

Fixes: 8f77295525 ("ACPI: RISC-V: Add support for RIMT")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202509280031.8Sjkr4bh-lkp@intel.com/
Signed-off-by: Sunil V L <sunilvl@ventanamicro.com>
Link: https://lore.kernel.org/r/20251013181947.261759-1-sunilvl@ventanamicro.com
2025-10-17 21:45:08 -06:00
..
Kconfig ACPI: RISC-V: Add support for RIMT 2025-09-05 15:06:03 +02:00
Makefile ACPI: RISC-V: Add support for RIMT 2025-09-05 15:06:03 +02:00
cppc.c ACPI: RISC-V: Fix FFH_CPPC_CSR error handling 2025-09-04 16:25:50 -06:00
cpuidle.c ACPI: RISC-V: Add LPI driver 2024-03-19 17:51:39 -07:00
init.c ACPI: RISC-V: Add support for RIMT 2025-09-05 15:06:03 +02:00
init.h ACPI: RISC-V: Add support for RIMT 2025-09-05 15:06:03 +02:00
irq.c ACPI: RISC-V: Add RPMI System MSI to GSI mapping 2025-09-25 19:49:09 -06:00
rhct.c RISC-V: ACPI: RHCT: Add function to get CBO block sizes 2023-10-26 09:40:33 -07:00
rimt.c ACPI: RIMT: Fix unused function warnings when CONFIG_IOMMU_API is disabled 2025-10-17 21:45:08 -06:00