diff options
author | 2023-05-16 22:05:08 +0200 | |
---|---|---|
committer | 2023-06-17 07:21:24 +0100 | |
commit | 415e84294798d1cb041c902168393054cc4ad211 (patch) | |
tree | 0809730170d98eed5e807fe8ad0e50c783ec942b /lib/string_helpers.c | |
parent | irqchip/mxs: Include linux/irqchip/mxs.h (diff) | |
download | wireguard-linux-415e84294798d1cb041c902168393054cc4ad211.tar.xz wireguard-linux-415e84294798d1cb041c902168393054cc4ad211.zip |
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 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions