]> www.infradead.org Git - users/hch/misc.git/commit
IB/hfi1: make clear_all_interrupts static
authorDr. David Alan Gilbert <linux@treblig.org>
Mon, 7 Oct 2024 23:53:26 +0000 (00:53 +0100)
committerLeon Romanovsky <leon@kernel.org>
Tue, 8 Oct 2024 07:43:17 +0000 (10:43 +0300)
commit89e9ae55dc56f322f1a123224ad9d3e52bcc3b50
treef50074b9dd3c1016bfba9d22e8a0d47f2a76f785
parent615b94746a54702af923b28bd8a629f4ac0ff0d8
IB/hfi1: make clear_all_interrupts static

clear_all_interrupts() in hw/hfi1/chip.c is currently global
but only used in the same file, so make it static.

There are also 'clear_all_interrupts' functions in i2c-nomadik and
emif.c but fortunately they're already static.

(Build and boot tested only, I don't have this hardware)

Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
Link: https://patch.msgid.link/20241007235327.128613-1-linux@treblig.org
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/hw/hfi1/chip.c
drivers/infiniband/hw/hfi1/chip.h