Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp680956ybj; Thu, 7 May 2020 05:16:57 -0700 (PDT) X-Google-Smtp-Source: APiQypL9q6osYzrIAoyYs3B6VijMifDJBMveUnsMKb2Bf1M3jsur+ARdOKmP42pvoiPcWAu11rjp X-Received: by 2002:a17:906:7c4e:: with SMTP id g14mr11996669ejp.382.1588853817284; Thu, 07 May 2020 05:16:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588853817; cv=none; d=google.com; s=arc-20160816; b=bAd8OI3FpsnRi8b662WC9FSptBmOKmY7Vzhl/UbJYra2+q0YcQcR3kFsA5lHfa6UuS mfPF5wQ3Tckso7EiKuKYRxfA295oLAhziLxOxTqeewPjibs+C/SpmlsWnNesUlGu3m1T WWwq7d4HA72fa53glK+CzU0gqIAEnOxBbMNwMk3A2Q/WSvwwdT2LR3uV5KNp9qyxgWjL UKaw5OrfPdhwmxA7CQnJ5DsbxSL34JilRHXGsGX6Rgfj7PDNq1uOqlc2UezMuCe+vCz4 KRC9LOhH64OC/iYw0lQmQ7dPUsc8P8RPk8Hn2wY7Dphbnxsio0aFwJ+5DxJ3MmoAP+rs Toxg== 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=4mVKgJI8pIIY0qHXKGCExCy7XlsA52mDyC40uh5wMTg=; b=b+v7tcBnWRwq1ZYbnrWysPW0FjrnVgFmOT6qPrYKmL+RNBectrlrryIWu3H9VZNQbo u4bSswT/w5OLDuAjz+TDgEszOBZZi+LIXZf17CB4d+T832n8bkVkUY7v+6vu6tyhJ3Fj uOvdGgRDTzqrRLozBSOgE1/wyIbHJXnL4W4wKw2JaT14lIvAQxpBfvs83nZyxcKHeRaG EzT6iL3XxaauSohixFQ1c01VecCHtaGf4/TU57Y+AzAtMs/YDyLoqT7kqBptqSBmWvbJ 7IktzWahDcQWjCVrzmRdafkeNv24LL//VE+4NasuAwpUWWJVJgqKKI1DcZjgv5T0Ukx/ oFSQ== 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 62si3301208edc.305.2020.05.07.05.16.31; Thu, 07 May 2020 05:16:57 -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 S1726531AbgEGMOy (ORCPT + 99 others); Thu, 7 May 2020 08:14:54 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:3891 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726134AbgEGMOx (ORCPT ); Thu, 7 May 2020 08:14:53 -0400 Received: from DGGEMS408-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id 583EBC7DD4A97541A1BB; Thu, 7 May 2020 20:14:48 +0800 (CST) Received: from linux-lmwb.huawei.com (10.175.103.112) by DGGEMS408-HUB.china.huawei.com (10.3.19.208) with Microsoft SMTP Server id 14.3.487.0; Thu, 7 May 2020 20:14:41 +0800 From: Samuel Zou To: , , , CC: Samuel Zou Subject: [PATCH -next] mmc: sdhci-pci-gli: Make sdhci_pci_gli_resume static Date: Thu, 7 May 2020 20:20:50 +0800 Message-ID: <1588854050-19161-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/mmc/host/sdhci-pci-gli.c:343:5: warning: symbol 'sdhci_pci_gli_resume' was not declared. Should it be static? Reported-by: Hulk Robot Signed-off-by: Samuel Zou --- drivers/mmc/host/sdhci-pci-gli.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/host/sdhci-pci-gli.c b/drivers/mmc/host/sdhci-pci-gli.c index bdb6336..fd76aa6 100644 --- a/drivers/mmc/host/sdhci-pci-gli.c +++ b/drivers/mmc/host/sdhci-pci-gli.c @@ -340,7 +340,7 @@ static u32 sdhci_gl9750_readl(struct sdhci_host *host, int reg) } #ifdef CONFIG_PM_SLEEP -int sdhci_pci_gli_resume(struct sdhci_pci_chip *chip) +static int sdhci_pci_gli_resume(struct sdhci_pci_chip *chip) { struct sdhci_pci_slot *slot = chip->slots[0]; -- 2.6.2