summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorSamuel Zou <zou_wei@huawei.com>2020-05-28 06:39:14 +0300
committerSantosh Shilimkar <santosh.shilimkar@oracle.com>2020-05-28 06:39:14 +0300
commitb8b38a8e3cae100f292d756e32c78ab288db8a7d (patch)
treef9450140e909f31da91d64fcb00c1e5e75ef2d92 /drivers
parent907a2b7e2fc746ac3b57b7eb64c220b81d74fc42 (diff)
downloadlinux-b8b38a8e3cae100f292d756e32c78ab288db8a7d.tar.xz
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: 41f93af900a2 ("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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/soc/ti/knav_qmss_queue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/soc/ti/knav_qmss_queue.c b/drivers/soc/ti/knav_qmss_queue.c
index 37f3db6c041c..aa071d96ef36 100644
--- a/drivers/soc/ti/knav_qmss_queue.c
+++ b/drivers/soc/ti/knav_qmss_queue.c
@@ -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,