Commit b8b38a8e authored by Samuel Zou's avatar Samuel Zou Committed by Santosh Shilimkar

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: 41f93af9 ("soc: ti: add Keystone Navigator QMSS driver")
Reported-by: default avatarHulk Robot <hulkci@huawei.com>
Signed-off-by: default avatarSamuel Zou <zou_wei@huawei.com>
Signed-off-by: default avatarSantosh Shilimkar <santosh.shilimkar@oracle.com>
parent 907a2b7e
...@@ -409,7 +409,7 @@ static int knav_gp_close_queue(struct knav_range_info *range, ...@@ -409,7 +409,7 @@ static int knav_gp_close_queue(struct knav_range_info *range,
return 0; 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, .set_notify = knav_gp_set_notify,
.open_queue = knav_gp_open_queue, .open_queue = knav_gp_open_queue,
.close_queue = knav_gp_close_queue, .close_queue = knav_gp_close_queue,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment