]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drivers: soc: ti: knav_qmss_queue: Mark knav_acc_firmwares as static
authorChen Jiahao <chenjiahao16@huawei.com>
Wed, 19 Oct 2022 15:32:12 +0000 (23:32 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 31 Dec 2022 12:31:48 +0000 (13:31 +0100)
commitf024ba5e05ab673ce38f6802babb3439b0f32514
treeed8ae5eb62769b11dd69ec353f57abedca1fef6c
parent10ee1f7a0fa08c4f4c7eab4fb03d7fbfa60eafba
drivers: soc: ti: knav_qmss_queue: Mark knav_acc_firmwares as static

[ Upstream commit adf85adc2a7199b41e7a4da083bd17274a3d6969 ]

There is a sparse warning shown below:

drivers/soc/ti/knav_qmss_queue.c:70:12: warning: symbol
'knav_acc_firmwares' was not declared. Should it be static?

Since 'knav_acc_firmwares' is only called within knav_qmss_queue.c,
mark it as static to fix the warning.

Fixes: 96ee19becc3b ("soc: ti: add firmware file name as part of the driver")
Signed-off-by: Chen Jiahao <chenjiahao16@huawei.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
Link: https://lore.kernel.org/r/20221019153212.72350-1-chenjiahao16@huawei.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/soc/ti/knav_qmss_queue.c