Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp3147489pxu; Tue, 8 Dec 2020 04:56:08 -0800 (PST) X-Google-Smtp-Source: ABdhPJzFMbbQAmdLQiWocaGKhGIpbkrRy+3v9zoIeUw3oph/ngnV1CwtRzA3rj48TIvJyNp3lZXn X-Received: by 2002:a50:cd84:: with SMTP id p4mr23852817edi.81.1607432168367; Tue, 08 Dec 2020 04:56:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607432168; cv=none; d=google.com; s=arc-20160816; b=SQMhZ1w87C6JnsexrsCoV0Uf3+YPhjaoRIX/IpYudzDj4szH83B6a+QbnJdzcWcp6b DADoTLvbUu4pOXTodvoY/diSlbt70I6Vstv8jlgESBDqNHI+rfDGHmvQYrqabYKDkqS9 B6hN/eie7aJCqyvE3z6lfdI1TeHQ6UNtyoBuIYF6R5ibqlSw/2vTEhuKWuNgjGuc+Rhl s86q17XLpIH8h81mw6YEiSSWdWj7sccns3/ziNJBZFwc+/eiEZ707ZNC5iDfYDJ4D/f/ p6pEXe/jW9p4Tsh81N42lhGTYyvrvFoDA88NE2rOmxMIdG97S4h5izjrEVFl1NMas8aG SLnw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=q4BrnrQ1kcjsLVqjRpn0owWrgQEiEHl1zYKse+Qy+64=; b=ISf5BSrDK7YgxgX+0nstw2h1gjstO0g62u0HRs6Ar81tRNTTvKEYCYAlYa2HY1EXxG 1IDA5T9NKXJdjwyq/QhMV4tqJ8ldtRHH7D39u3YzZyr34eEXJwcTvGMS6f2VQwVn8bnI E9ryEPJ4UW9LV9ICWKWV30gsme2eVU9Yn4wTBc2ARhZwYzBmkmHLKmwdvawwMx/72Dwv fM5QNjeGtlg1ldqXyjExfmbDlc7RuGyFA1G6CZqfgBvWy3btf5A46lMGLHj7fTS2qfen 6NRiFrjbALlGCjXITgX5Qt9SiEE3oCYXjBL+5Sa7Ff/+tiV0hPraf1Tsph7nzsvr0/Xk Z70g== 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 bi10si10500590edb.483.2020.12.08.04.55.45; Tue, 08 Dec 2020 04:56:08 -0800 (PST) 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 S1727061AbgLHMR1 (ORCPT + 99 others); Tue, 8 Dec 2020 07:17:27 -0500 Received: from szxga07-in.huawei.com ([45.249.212.35]:9396 "EHLO szxga07-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725803AbgLHMR0 (ORCPT ); Tue, 8 Dec 2020 07:17:26 -0500 Received: from DGGEMS411-HUB.china.huawei.com (unknown [172.30.72.60]) by szxga07-in.huawei.com (SkyGuard) with ESMTP id 4Cqzg075SSz79Sn; Tue, 8 Dec 2020 20:16:12 +0800 (CST) Received: from linux-lmwb.huawei.com (10.175.103.112) by DGGEMS411-HUB.china.huawei.com (10.3.19.211) with Microsoft SMTP Server id 14.3.487.0; Tue, 8 Dec 2020 20:16:36 +0800 From: Zou Wei To: , , CC: , , "Zou Wei" Subject: [PATCH -next] platform/x86: ISST: Mark mmio_range_devid_0 and mmio_range_devid_1 with static keyword Date: Tue, 8 Dec 2020 20:28:09 +0800 Message-ID: <1607430489-116200-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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix the following sparse warnings: drivers/platform/x86/intel_speed_select_if/isst_if_mmio.c:23:24: warning: symbol 'mmio_range_devid_0' was not declared. Should it be static? drivers/platform/x86/intel_speed_select_if/isst_if_mmio.c:28:24: warning: symbol 'mmio_range_devid_1' was not declared. Should it be static? Signed-off-by: Zou Wei --- drivers/platform/x86/intel_speed_select_if/isst_if_mmio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/platform/x86/intel_speed_select_if/isst_if_mmio.c b/drivers/platform/x86/intel_speed_select_if/isst_if_mmio.c index 2906cfe..ff49025 100644 --- a/drivers/platform/x86/intel_speed_select_if/isst_if_mmio.c +++ b/drivers/platform/x86/intel_speed_select_if/isst_if_mmio.c @@ -20,12 +20,12 @@ struct isst_mmio_range { int end; }; -struct isst_mmio_range mmio_range_devid_0[] = { +static struct isst_mmio_range mmio_range_devid_0[] = { {0x04, 0x14}, {0x20, 0xD0}, }; -struct isst_mmio_range mmio_range_devid_1[] = { +static struct isst_mmio_range mmio_range_devid_1[] = { {0x04, 0x14}, {0x20, 0x11C}, }; -- 2.6.2