forked from luck/tmp_suning_uos_patched
drivers: soc: ti: knav_qmss_queue: Make knav_gp_range_ops static
Fix the following sparse warning:
drivers/soc/ti/knav_qmss_queue.c:412:23: warning: symbol 'knav_gp_range_ops' was not declared.
The knav_acc_firmwares has only call site within knav_qmss_queue.c
It should be static
Fixes: 41f93af900
("soc: ti: add Keystone Navigator QMSS driver")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Samuel Zou <zou_wei@huawei.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
This commit is contained in:
parent
907a2b7e2f
commit
b8b38a8e3c
|
@ -409,7 +409,7 @@ static int knav_gp_close_queue(struct knav_range_info *range,
|
|||
return 0;
|
||||
}
|
||||
|
||||
struct knav_range_ops knav_gp_range_ops = {
|
||||
static struct knav_range_ops knav_gp_range_ops = {
|
||||
.set_notify = knav_gp_set_notify,
|
||||
.open_queue = knav_gp_open_queue,
|
||||
.close_queue = knav_gp_close_queue,
|
||||
|
|
Loading…
Reference in New Issue
Block a user