summaryrefslogtreecommitdiff
path: root/drivers/irqchip
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2023-05-16 22:05:08 +0200
committerMarc Zyngier <maz@kernel.org>2023-06-17 07:21:24 +0100
commit415e84294798d1cb041c902168393054cc4ad211 (patch)
tree0809730170d98eed5e807fe8ad0e50c783ec942b /drivers/irqchip
parent5b7e5676209120814dbb9fec8bc3769f0f7a7958 (diff)
irqchip/gicv3: Add a iort_pmsi_get_dev_id() prototype
iort_pmsi_get_dev_id() has a __weak definition in the driver, and an override in arm64 specific code, but the declaration is conditional and not always seen when the copy in the driver gets built: drivers/irqchip/irq-gic-v3-its-platform-msi.c:41:12: error: no previous prototype for 'iort_pmsi_get_dev_id' [-Werror=missing-prototypes] Move the existing declaration out of the #ifdef block to ensure it can be seen in all configurations. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Reviewed-by: Hanjun Guo <guohanjun@huawei.com> Signed-off-by: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20230516200516.554663-5-arnd@kernel.org
Diffstat (limited to 'drivers/irqchip')
0 files changed, 0 insertions, 0 deletions