]> git.baikalelectronics.ru Git - kernel.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>
Wed, 18 Jan 2023 10:40:49 +0000 (11:40 +0100)
commitb9fd9687fc59e5f7be028c1f14e4a2152d4d455c
treef45da216bd3617d469f465d60405b2462fdae7dc
parentd3fd99b6e2d8703b1aeab790e6c8981c4d78e6f1
drivers: soc: ti: knav_qmss_queue: Mark knav_acc_firmwares as static

[ Upstream commit 3ff18339cdeb559d9716926676d6ef09a9060791 ]

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: 61dab9f5d96e ("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