diff options
| author | Sunil V L <sunilvl@ventanamicro.com> | 2025-10-13 23:49:47 +0530 |
|---|---|---|
| committer | Paul Walmsley <pjw@kernel.org> | 2025-10-17 21:45:08 -0600 |
| commit | e7b969cbe302d49032d4c2bb36c57c9c623ebfdc (patch) | |
| tree | 89eef31cf513a3385f01ac683831496708f8d02b /tools/docs/parse-headers.py | |
| parent | ca525d53f994d45c8140968b571372c45f555ac1 (diff) | |
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: 8f7729552582 ("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
Diffstat (limited to 'tools/docs/parse-headers.py')
0 files changed, 0 insertions, 0 deletions
