Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp722084img; Fri, 22 Mar 2019 07:16:20 -0700 (PDT) X-Google-Smtp-Source: APXvYqwQVmb10kTvwtDneaoimigCWdQjTthNU8XV8MZuPS92jy6wlYdRdE6+SUQnmxaGUMSKwBa/ X-Received: by 2002:a17:902:380c:: with SMTP id l12mr9857156plc.238.1553264179994; Fri, 22 Mar 2019 07:16:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553264179; cv=none; d=google.com; s=arc-20160816; b=tki2WRTOz2AdgpeIxv95UbC/NqnmRIDrKxjXD1Ol3+SjJ78mn6ylaSsU5VeSh8gUhz ok3V9vyoSDtSGvRLFWDcvrWo+lyjLf+jvNVbFp+UYqw2ls0RT8Oqo75khcYGeaDY8e4l ZaOosM7X5QLtv8ogbke+tdN9wPQRzN5NzLo4u/H99Ga4P8HxfPedGDgvN5zrie8WVHN5 CyEMbpz46y5eS0VYPop/T5U+a41DRvOA7wywHSAj05MLkJdCId9sxEXdGzWI9jCP4law 5blKtnOcPFtx0RS1+X/ZcNqp8qcES+cCwUqSOmvnLMjHuiYuNfGVMAoTCbDEoaSO1RfP OPoA== 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=HjnO4sUjWSK1eTyg2LtEHAmQ+yk7CVMkHVSRGkrQ5Gk=; b=U6tztubc7tImNkFA6wJyZVWR6dLPErTAX+gsm0sECJFTtmZhYlG8vhseVD0skT4oRU noCRihK5/aWz4v1w1yky+BItFEbHGKmIUexmYDJGo5wf3TlekKM/g91vfWS1OhH5S3PQ 1k7eIFa9Z82EnQaOVVM4BkSA8VDPCYamlH4h6+AV++MNSjAL/VPvUDfp39vSefKFqCI+ WuYZNfpM93ToCYAPT2QupStW/aqExBkzRhZAg/nFKIYfYntEyfSRiD5HXMYr4Vdd6E+W dClysVrB1NjUrDy3XXKoV+59Xv0yBayqkoHLX4eiehcQgebCUvO2Ru8pccCnLrQaubK+ grdQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p66si7251942pfp.231.2019.03.22.07.16.02; Fri, 22 Mar 2019 07:16:19 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728140AbfCVOPD (ORCPT + 99 others); Fri, 22 Mar 2019 10:15:03 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:5173 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727602AbfCVOPD (ORCPT ); Fri, 22 Mar 2019 10:15:03 -0400 Received: from DGGEMS408-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id 21DCFF1AD48E17D902BB; Fri, 22 Mar 2019 22:15:01 +0800 (CST) Received: from localhost (10.177.31.96) by DGGEMS408-HUB.china.huawei.com (10.3.19.208) with Microsoft SMTP Server id 14.3.408.0; Fri, 22 Mar 2019 22:14:51 +0800 From: Yue Haibing To: , , CC: , , YueHaibing Subject: [PATCH -next] mmc: sdhci-omap: Make sdhci_omap_reset static Date: Fri, 22 Mar 2019 22:11:38 +0800 Message-ID: <20190322141138.19244-1-yuehaibing@huawei.com> X-Mailer: git-send-email 2.10.2.windows.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.177.31.96] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: YueHaibing Fix sparse warning: drivers/mmc/host/sdhci-omap.c:788:6: warning: symbol 'sdhci_omap_reset' was not declared. Should it be static? Signed-off-by: YueHaibing --- drivers/mmc/host/sdhci-omap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/host/sdhci-omap.c b/drivers/mmc/host/sdhci-omap.c index 5bbed47..649c03f 100644 --- a/drivers/mmc/host/sdhci-omap.c +++ b/drivers/mmc/host/sdhci-omap.c @@ -785,7 +785,7 @@ static void sdhci_omap_set_uhs_signaling(struct sdhci_host *host, sdhci_omap_start_clock(omap_host); } -void sdhci_omap_reset(struct sdhci_host *host, u8 mask) +static void sdhci_omap_reset(struct sdhci_host *host, u8 mask) { struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); struct sdhci_omap_host *omap_host = sdhci_pltfm_priv(pltfm_host); -- 2.7.0