diff options
author | Arnd Bergmann <arnd@arndb.de> | 2025-07-10 11:00:12 +0300 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2025-07-11 00:46:05 +0300 |
commit | a8b289f0f2dcbadd8c207ad8f33cf7ba2b4eb088 (patch) | |
tree | d6236b697b2d2e7b7ec68fe626123ae2754d7ee1 /lib/string_helpers.c | |
parent | 68ea85df15d111d82fc474cbe104174791169355 (diff) | |
download | linux-a8b289f0f2dcbadd8c207ad8f33cf7ba2b4eb088.tar.xz |
irqchip/irq-msi-lib: Fix build with PCI disabled
The armada-370-xp irqchip fails in some randconfig builds because
of a missing declaration:
In file included from drivers/irqchip/irq-armada-370-xp.c:23:
include/linux/irqchip/irq-msi-lib.h:25:39: error: 'struct msi_domain_info' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
Add a forward declaration for the msi_domain_info structure.
[ tglx: Fixed up the subsystem prefix. Is it really that hard to get right? ]
Fixes: e51b27438a10 ("irqchip: Make irq-msi-lib.h globally available")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/all/20250710080021.2303640-1-arnd@kernel.org
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions