From patchwork Wed Jul 1 12:46:59 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 11636265 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B5564739 for ; Wed, 1 Jul 2020 12:50:32 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 8D21720578 for ; Wed, 1 Jul 2020 12:50:32 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="VBIt9TU7"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="HJ/om3la" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8D21720578 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=I3wqsBj2E2uI/FtGV5ovjQJDgWxrltoTUYl01dVTGlI=; b=VBIt9TU7E28YT9FzxcOBsztd3 5grqlJC6Oi194IuUHRglxFuhVHZaL9HXyCF5+bDM0p7IQelF6XSePvhHWJb/nxfU0tduLwPXEjDhE NsZVbLjjQGL+LFyd1B3QuaBhekwzt9evLO4JRb/JmktgcM3me3JjBkRD6gg68kwth2TN7ec6nKrWj 5JJSRB64FmxBGjUeO8SS3IqUlqIrlMsCkXMwRttrocjFiwymh4dvpC2LnfJsZhuQrjTcvsED3CiV8 O5y+9ctri3ubEeDTZT6foi/lnY8d1yz/5HVBpP6nRdMRcAYNc+QzCABTjr9BYcNJ8jepgtrbtyPVs nFMPL7x0g==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jqc9i-0005IO-Bt; Wed, 01 Jul 2020 12:48:02 +0000 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jqc94-0004u2-5Y for linux-arm-kernel@lists.infradead.org; Wed, 01 Jul 2020 12:47:23 +0000 Received: by mail-wr1-x444.google.com with SMTP id s10so23624496wrw.12 for ; Wed, 01 Jul 2020 05:47:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=8hbNAtKSwUso7F6/Zo5X4haYX63XDsD/59rYslLWqBM=; b=HJ/om3laTlqrN4tbJ+hATe0qObMhqatwVBMmZnGQmvTJIYTLVQz8MxOl73Hvp4WjqF xqUHLf7YHf1hvrtoxKkTPx5vx4baewW61qxzhFuZVeIya9axCarl7l2dViHxrkwleodH dqRvX57EYA4mWlnOc3UXl84JE1fw1eqzsYGqhZglttgGNgeyeTENotbaLBbM3ZJAO6RO W6wL7H1TlNKqrdzCh8F+/x99y+cE9x8koVt002NOvQeOPt78Usfk5Y/7tdSB2HeTaHRe 5DHEEFclRVMMEY0UmZNQW+FvRnf4tsOiigh1L7ZLqnBfpOrsVbnL6LlOLwWrq5rZCYS4 IJAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=8hbNAtKSwUso7F6/Zo5X4haYX63XDsD/59rYslLWqBM=; b=tN1IMiPN/dwOo/ZBLvUBhFfGkpH2gJEHwyZdQStSW5RlYugJ74jOGk71FvH46s93PK yKCNgR4VzJyecKBp3LjNeUOisIXf0IEeb0HUihVMnJw56JwXE9xYJirsqLtvlkwsEM+5 WoPhFXRJNv045HBoOkybyWNSxnar6oBHcqOCP8XWVOVU/zPi7bnITsNtJ4ziYbulqiSV TxvpVi+MSXojo3IvNbpPSDlqr3p5ZsHw2KmczoePmWUo/9OpHegnPfl2AgAgoDJ9eJUF zjrUhfL8NnN/Ux5BagUZ4ZRn6g3NGyXBh75I0TP36ml4WT83tOADeK2gF9gLLxeX3XhG vc7A== X-Gm-Message-State: AOAM5326iAXonnXPK87KyyXKG7fot5nMFXpmlD8LI9elFYRRXpUk4lYp uhbwDk7NlQX3Z0DxyJ9IclwwLQ== X-Google-Smtp-Source: ABdhPJxaxL/KUxiM37mz4pmYxkZ8JcArmoV2r74oObuQZwBjWSDWoMwdJUFYimiGE/2fmaa9tY0rNA== X-Received: by 2002:a5d:6a07:: with SMTP id m7mr27094488wru.324.1593607640839; Wed, 01 Jul 2020 05:47:20 -0700 (PDT) Received: from localhost.localdomain ([2.27.35.144]) by smtp.gmail.com with ESMTPSA id o29sm7817862wra.5.2020.07.01.05.47.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Jul 2020 05:47:20 -0700 (PDT) From: Lee Jones To: ulf.hansson@linaro.org Subject: [PATCH 12/15] mmc: host: sdhci-msm: Staticify local function sdhci_msm_dump_vendor_regs() Date: Wed, 1 Jul 2020 13:46:59 +0100 Message-Id: <20200701124702.908713-13-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200701124702.908713-1-lee.jones@linaro.org> References: <20200701124702.908713-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200701_084722_277075_B4CF7BF8 X-CRM114-Status: GOOD ( 14.09 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:444 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Bjorn Andersson , Andy Gross , Adrian Hunter , Lee Jones , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org sdhci_msm_dump_vendor_regs() is only used via the .dump_vendor_regs() call-back. It is never exported nor used externally, so it can be static. Squashes the following W=1 kernel build warning: drivers/mmc/host/sdhci-msm.c:1887:6: warning: no previous prototype for ‘sdhci_msm_dump_vendor_regs’ [-Wmissing-prototypes] 1887 | void sdhci_msm_dump_vendor_regs(struct sdhci_host *host) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ Cc: Adrian Hunter Cc: Andy Gross Cc: Bjorn Andersson Cc: linux-arm-msm@vger.kernel.org Signed-off-by: Lee Jones --- drivers/mmc/host/sdhci-msm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/host/sdhci-msm.c b/drivers/mmc/host/sdhci-msm.c index b277dd7fbdb5d..0c02f8a2d11ab 100644 --- a/drivers/mmc/host/sdhci-msm.c +++ b/drivers/mmc/host/sdhci-msm.c @@ -1884,7 +1884,7 @@ static void sdhci_msm_reset(struct sdhci_host *host, u8 mask) #define SDHCI_MSM_DUMP(f, x...) \ pr_err("%s: " DRIVER_NAME ": " f, mmc_hostname(host->mmc), ## x) -void sdhci_msm_dump_vendor_regs(struct sdhci_host *host) +static void sdhci_msm_dump_vendor_regs(struct sdhci_host *host) { struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); struct sdhci_msm_host *msm_host = sdhci_pltfm_priv(pltfm_host);