Commit 09241e61 authored by Wei Yongjun's avatar Wei Yongjun Committed by Santosh Shilimkar

soc: TI knav_qmss: make symbol 'knav_acc_range_ops' static

The sparse tool complains as follows:

drivers/soc/ti/knav_qmss_acc.c:453:23: warning:
 symbol 'knav_acc_range_ops' was not declared. Should it be static?

'knav_acc_range_ops' is not used outside of knav_qmss_acc.c,
so marks it static.
Reported-by: default avatarHulk Robot <hulkci@huawei.com>
Signed-off-by: default avatarWei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: default avatarSantosh Shilimkar <santosh.shilimkar@oracle.com>
parent a6df49f4
...@@ -450,7 +450,7 @@ static int knav_acc_free_range(struct knav_range_info *range) ...@@ -450,7 +450,7 @@ static int knav_acc_free_range(struct knav_range_info *range)
return 0; return 0;
} }
struct knav_range_ops knav_acc_range_ops = { static struct knav_range_ops knav_acc_range_ops = {
.set_notify = knav_acc_set_notify, .set_notify = knav_acc_set_notify,
.init_queue = knav_acc_init_queue, .init_queue = knav_acc_init_queue,
.open_queue = knav_acc_open_queue, .open_queue = knav_acc_open_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