Message ID | 20190306140456.28187-7-ulf.hansson@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patches@linaro.org Received: by 2002:a02:5cc1:0:0:0:0:0 with SMTP id w62csp6206114jad; Wed, 6 Mar 2019 06:05:08 -0800 (PST) X-Received: by 2002:ac2:50d9:: with SMTP id h25mr4009119lfm.138.1551881108502; Wed, 06 Mar 2019 06:05:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551881108; cv=none; d=google.com; s=arc-20160816; b=mzY+kyBXK/MNA0R6Y5rhxjTtoDuh1RUr3i/OzjaZDQrH+P5XzmDPxtwx9NYIM4jf1a iTvfzfsgt5x3lfrloXRzlZ0BGhCO/AGEC+SaAc0G0NwjAYlD27a76STpuQCjp0msfftU Rm0Zyssw9pJdZLU7rc4iUtC1VNKnIisuiijXFYPji12vRgTvVwZu5655hIWkz9GXs2u7 6enye31Ciq6LK8U8hwcBpGgAKQ/07DNUXMQhmU+4oqFg7Jr2SVge4XM7rzEyVss+sddP FY4UHJh07bI9JACUIz/fE/rAv4OGu8N5v4+kzkKWmdb5rZFzxIJai2vdpZw1gU+43c3i sOdg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=bmi4m3jgLs9znziaLF9DN+ZPJU4BIj67VpqbfVcVR5w=; b=mEUpFK+IbQz9J1/nhwdhiB1Wm5cS3JhDfBz89PNTV1Ga0A9ekdUZekv4+apHGq7Xr7 mzwfp5Rq6DUsixV4MqXnnNWi0f42Hfo5jnSJhkBASdOiwM9kwPTXHQXEugrrg7mFPuHU 1bqzf3hSIdFM+OEHTOtQI2rnGndtAwgUfH+HVauIWTQu6yGB5K9nAu1m6POzr0mCWfER dvzA9tkvFZ6u9E6K5Fw9gOiN/OENoBZVSqjzYtZ+5Ex5QbI0YnF250PdAc9jibs9D6Ja XQoYoeuVmL44U0FhJpHqoUR5k6JzTIx6q0U41qvTsHuFTSV42KCrzmigauOy9SvQOa6D maCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=UmAltG1g; spf=pass (google.com: domain of ulf.hansson@linaro.org designates 209.85.220.65 as permitted sender) smtp.mailfrom=ulf.hansson@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <ulf.hansson@linaro.org> Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id n25sor534489lfg.44.2019.03.06.06.05.08 for <patches@linaro.org> (Google Transport Security); Wed, 06 Mar 2019 06:05:08 -0800 (PST) Received-SPF: pass (google.com: domain of ulf.hansson@linaro.org designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=UmAltG1g; spf=pass (google.com: domain of ulf.hansson@linaro.org designates 209.85.220.65 as permitted sender) smtp.mailfrom=ulf.hansson@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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=lreYCOdz5HScnUpn7k313bq3esIYASfyz73s9NScWbtRw27k3Eq9SBmdpD0zLA7cGF u5YRYYRrkSb+rvBTmaxggQTRXG6TPvu9VYlMvDoEZpXCuhcq0sX/seP06d0VGfycwZ2E AwBGg51Vse6tRUnDnB57+7iBCGpdQgzn6d/DxEOnkhfJHnd0qzObwcWuokcmmXDCWzDT sqPXcp5CjxfTpfmyD8WV+ygFFFpxak9oTCl/kEMQVDsDzijhRRyj+y+0BI78GcG/XPAs DAoGD0CD0h1S8WHpEX/UGHC9CVnyAZW0uvbeBoMU/46TfjHgjXcXivP++Rr84DWD+v1p hCsQ== X-Gm-Message-State: APjAAAUgglBSprWr5soPKdWdInWSGvQ34yx/wIPG2Bzn7mqjlzafUU0/ +pX5gQqHLBrvw2Oxel092iOWwau8 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) Return-Path: <ulf.hansson@linaro.org> 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 <ulf.hansson@linaro.org> To: linux-mmc@vger.kernel.org, Ludovic Barre <ludovic.barre@st.com> Cc: Russell King <linux@armlinux.org.uk>, Linus Walleij <linus.walleij@linaro.org>, Ulf Hansson <ulf.hansson@linaro.org> 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> |
Series |
mmc: mmci: Cleanup some variant related code
|
expand
|
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
As mmci_variant_init() is a local function to mmci.c, let's convert it into static. Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> --- drivers/mmc/host/mmci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.17.1