From patchwork Wed Mar 6 14:04:56 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulf Hansson X-Patchwork-Id: 10841175 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E16CE17E9 for ; Wed, 6 Mar 2019 14:05:11 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CE5172DB49 for ; Wed, 6 Mar 2019 14:05:11 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C0E722DB62; Wed, 6 Mar 2019 14:05:11 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7A9E72DB49 for ; Wed, 6 Mar 2019 14:05:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727191AbfCFOFL (ORCPT ); Wed, 6 Mar 2019 09:05:11 -0500 Received: from mail-lf1-f67.google.com ([209.85.167.67]:36139 "EHLO mail-lf1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727179AbfCFOFK (ORCPT ); Wed, 6 Mar 2019 09:05:10 -0500 Received: by mail-lf1-f67.google.com with SMTP id x206so9021952lff.3 for ; Wed, 06 Mar 2019 06:05:09 -0800 (PST) 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; bh=bmi4m3jgLs9znziaLF9DN+ZPJU4BIj67VpqbfVcVR5w=; b=UmAltG1g8G1KMLmf+5NtLdn6QGq4fmaai68psnCpVdljUDlEgzKIn7NwaDOCdV/9ZJ Uj0JI3YU8XrQQ3Eubh8kOL6fGth6H76MJHYvG64CxqUuyq8z+aY3WSvmapDreyLYoIqZ aYj8fGDhYe8yHGhEplH2Fp+2HDcv5415JvrkFyd/VaXQyqreKi7fu3Qnh4tMXT0GQl31 /O8JD2htizhi3JtdKy+KkWFz4Cyx4T5HP6C3gg+SwKzcIAxEuVT3N2WF5Inrlqr1AogU FXlJbIWGiMT+EEk2qDaY2QjptkR9bo5yC9eVRD9sad1k/7MS4hM+sKYP8GNEW0N/g8CM GjpQ== 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; bh=bmi4m3jgLs9znziaLF9DN+ZPJU4BIj67VpqbfVcVR5w=; b=r+NsJdC8wttIsiWlRkUWjJdLgWbaJAQs1imTgwcuJIIkPEcb+pHrZL9Nbykksk79M9 WYV7WhMgAcE9lZ0yJFEDHUeJK28kB7a3BuaW3KwgnQD5kHbEil/5pWgIJauJmTYpVNPo XBcodZO1e4bp8otT0FGYokcHftNvoiC0EpnZeGzlWLqYZqMX9s0P+HaSDKKbFOsnm1kp NPiUxiqNhqtXnW2WrTgKhMX8jzqN7WVMIp6Iogz/dWXvFLNgMAWVmde7TOpps3JVpOvl EKDwWyLxX9Y8/SSBMI/fL4Q6h4YRse9cwi9F8L9OAM/5Y4ajoIZycMNnuRKqBKHiKQBi d2oA== X-Gm-Message-State: APjAAAVKD2TmtEdPjU9ZYEvhmzG7dA+MbpVIJErB8uEQzzVcuK/CpuvV fzR3fAMmt1EIkUOnCi5sJhYiPuUZ4rU= X-Google-Smtp-Source: APXvYqyJlvy1AUDxscXay2CzbawHfrtvipHXWpY1rrej8CMd7dCsI1xkj2qtJz1pHMtXZ7Wr4k0Ksg== X-Received: by 2002:a19:ed02:: with SMTP id y2mr4262473lfy.24.1551881108130; Wed, 06 Mar 2019 06:05:08 -0800 (PST) Received: from localhost.localdomain (h-158-174-22-210.NA.cust.bahnhof.se. [158.174.22.210]) by smtp.gmail.com with ESMTPSA id o12sm343734ljc.37.2019.03.06.06.05.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 06 Mar 2019 06:05:07 -0800 (PST) From: Ulf Hansson To: linux-mmc@vger.kernel.org, Ludovic Barre Cc: Russell King , Linus Walleij , Ulf Hansson Subject: [PATCH 6/6] mmc: mmci: Make mmci_variant_init() static Date: Wed, 6 Mar 2019 15:04:56 +0100 Message-Id: <20190306140456.28187-7-ulf.hansson@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190306140456.28187-1-ulf.hansson@linaro.org> References: <20190306140456.28187-1-ulf.hansson@linaro.org> Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP As mmci_variant_init() is a local function to mmci.c, let's convert it into static. Signed-off-by: Ulf Hansson --- drivers/mmc/host/mmci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/host/mmci.c b/drivers/mmc/host/mmci.c index 2f3a1a7bd465..9e6a2c1aecd6 100644 --- a/drivers/mmc/host/mmci.c +++ b/drivers/mmc/host/mmci.c @@ -47,7 +47,7 @@ #define DRIVER_NAME "mmci-pl18x" #ifdef CONFIG_DMA_ENGINE -void mmci_variant_init(struct mmci_host *host); +static void mmci_variant_init(struct mmci_host *host); #else static inline void mmci_variant_init(struct mmci_host *host) {} #endif