Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp2341443ybk; Mon, 11 May 2020 19:07:58 -0700 (PDT) X-Google-Smtp-Source: APiQypLZHY2yhOTl248bMSleRcm9seS4Bhc9MOJKQjoTWtoiy8Wcz/y/xx0oU4vTTrHksiWWUCY/ X-Received: by 2002:a17:906:2604:: with SMTP id h4mr15133497ejc.307.1589249278162; Mon, 11 May 2020 19:07:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589249278; cv=none; d=google.com; s=arc-20160816; b=e8UwPCz05+52vZpzkXiEsOgyzBV2ELt0NZbx7XRMeINVeqQ6AQRgeurnkIT41RPF9j AaTZZ6nkcoPil52vfBDO8jybt+1d7dLmJsSAUjSzC+GA2+88/P18JF3UyGCKYWXkhxhy ca1q8rVJAXHXA/u4LqELNPecZrZlhvDyNZNMWTUTm+kdTldwEmEMuQ/7N2tuCqS+VhCn PG/OogCw8aZX5XyuS0xrpJA6cgCJI4jHBOWiGIwbF14zaBehSoTKM8rYTsNhjzBYoWS0 WcsLl+1zyea4Oqaoh8ROV00qRVTusN5Mrcwae/Ahp0HqNFMGabIZmP+4ulwzAdWt+zIo VJ1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from; bh=zt1GfVzrMeq72TACNvzrbTX0RKLU9Brqv//nXo3BeBk=; b=MLa85NOTkz6C39xx/6PLzZjad81yRCTbWFTDIaQtClJIEAT3jtG1rixS2uMRrpFA1M t0u3fqumNWdnXbQl5YVVKTdnvaZ1oyb4AUBlJzPVoDYEzPu6/W4rHDcmOgH68PBhThPi lLdPU4rYhmJV6IeQInkjD5U8GPVE1OmoHbHusuUzjLfmLHtJfnSAvPqC4UmuemFLN1fP zNa59skKQq9TPvjZ2cZR3RRFDnuxN+oJmaVf21GcWM+z4y0D7qXzIsKbuh6By2xb2892 d+AloWrb1/vDS+uFBdwtInUlDB+S5cwYCfPfzJP1tiHhcZQht7Wqybclu/0XjMhD41Te gVwg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f22si2318733edx.79.2020.05.11.19.07.35; Mon, 11 May 2020 19:07:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728487AbgELCGW (ORCPT + 99 others); Mon, 11 May 2020 22:06:22 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:4335 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728452AbgELCGV (ORCPT ); Mon, 11 May 2020 22:06:21 -0400 Received: from DGGEMS407-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id B9529A8BC8D1999137CE; Tue, 12 May 2020 10:06:19 +0800 (CST) Received: from linux-lmwb.huawei.com (10.175.103.112) by DGGEMS407-HUB.china.huawei.com (10.3.19.207) with Microsoft SMTP Server id 14.3.487.0; Tue, 12 May 2020 10:06:13 +0800 From: Samuel Zou To: CC: , , Samuel Zou Subject: [PATCH -next] drivers: soc: ti: knav_qmss_queue: Make knav_gp_range_ops static Date: Tue, 12 May 2020 10:12:20 +0800 Message-ID: <1589249540-105611-1-git-send-email-zou_wei@huawei.com> X-Mailer: git-send-email 2.6.2 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.175.103.112] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Signed-off-by: Samuel Zou --- drivers/soc/ti/knav_qmss_queue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/soc/ti/knav_qmss_queue.c b/drivers/soc/ti/knav_qmss_queue.c index 37f3db6..aa071d9 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, -- 2.6.2