Skip to content

Commit b8b38a8

Browse files
SamuelZOUSantoshShilimkar
authored andcommitted
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: 41f93af ("soc: ti: add Keystone Navigator QMSS driver") Reported-by: Hulk Robot <[email protected]> Signed-off-by: Samuel Zou <[email protected]> Signed-off-by: Santosh Shilimkar <[email protected]>
1 parent 907a2b7 commit b8b38a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/soc/ti/knav_qmss_queue.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ static int knav_gp_close_queue(struct knav_range_info *range,
409409
return 0;
410410
}
411411

412-
struct knav_range_ops knav_gp_range_ops = {
412+
static struct knav_range_ops knav_gp_range_ops = {
413413
.set_notify = knav_gp_set_notify,
414414
.open_queue = knav_gp_open_queue,
415415
.close_queue = knav_gp_close_queue,

0 commit comments

Comments
 (0)