From patchwork Thu Jun 8 13:27:41 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulf Hansson X-Patchwork-Id: 103389 Delivered-To: patches@linaro.org Received: by 10.140.91.77 with SMTP id y71csp2439534qgd; Thu, 8 Jun 2017 06:27:57 -0700 (PDT) X-Received: by 10.25.202.26 with SMTP id a26mr47136lfg.137.1496928477582; Thu, 08 Jun 2017 06:27:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1496928477; cv=none; d=google.com; s=arc-20160816; b=rWWj5WKUtBtL0xbruAL2791sC+IEb116ePAQ3qc2WDGXVSs3ibEAwS8sUW4YMTjGpq EGjy+Is1fu2q+sfxHdCcEXt0gB73xy3Jf+lgwWoPExuX2ery9RJ9w7Hxn9BS8WtXoKZ2 7z9ac/ZCyqG0On96TErpcgL5YQ47VdkEEHrpBLruuMw8LqzqYHQZn14NAffaXma/PKSY y4t6H3PZ8H2hK2CQ9ONazWftqNNhot2PfqxofNtQ77k5H1ddZkQhsgxwK0t2/jEqXinA UvvuAFi4xQkC/7qLlVeMCkpMn9njUQ02k43WiHMvbtDUo8g7VPYc8dBdAL3O2VFXKXsn r7vQ== 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:arc-authentication-results; bh=gv9urixTXcyPrzcJGjNTDA4NFOgkqpyZgz+f2XByE2A=; b=zrTGJu+jItDHhOwPouIPNfkLUkVrGZ3flNOdOsPWRTG6Q0pp4pi13ZkZG75Xx/bdaa 5vBCwfmeDFjlKaoEYrAFGOpmhZ6TCTOTjb1OH8P467aL7YgrnEgiODpGtXb6Kp/nK6P6 j/b/XisSJ/M9MBxKMyOlIiKQxIW9yTBiQlw6omHKbnPxk/ahESS0Ke17Q1OauHvRiJmN HoWvooNAG1po6aeDXxs1klcizI5yt+ptvQBHhAqCjAeVnxb5G9cZ/+M2RgXgfTtaxLoK uVWPKWzDVAPzh/xt0WVCaVdYRW9AM64RnDP4Jod+kbntOp/BgahMJxhXDzMpVDs2m0AX Z8WA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org; spf=pass (google.com: domain of ulf.hansson@linaro.org designates 2a00:1450:4010:c07::229 as permitted sender) smtp.mailfrom=ulf.hansson@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from mail-lf0-x229.google.com (mail-lf0-x229.google.com. [2a00:1450:4010:c07::229]) by mx.google.com with ESMTPS id c185si2518152lfc.140.2017.06.08.06.27.57 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 08 Jun 2017 06:27:57 -0700 (PDT) Received-SPF: pass (google.com: domain of ulf.hansson@linaro.org designates 2a00:1450:4010:c07::229 as permitted sender) client-ip=2a00:1450:4010:c07::229; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org; spf=pass (google.com: domain of ulf.hansson@linaro.org designates 2a00:1450:4010:c07::229 as permitted sender) smtp.mailfrom=ulf.hansson@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: by mail-lf0-x229.google.com with SMTP id p189so18038378lfe.2 for ; Thu, 08 Jun 2017 06:27:57 -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; bh=gv9urixTXcyPrzcJGjNTDA4NFOgkqpyZgz+f2XByE2A=; b=Fj8p6Axb9VhDImXKUzPulyyjRXc6zjUtqxHpz1tqiVeWsUhvBYCSQoEeDAvbrdCyVe Sq+u3DIo7bE/CM80ZB7UpEfXaueSYxze/o+g01SzEpSagt4PY2OUHE2mlS9urhNirTfF YOKNXyc2z1aybIB34nB+ljbWCrlWYhEhwz7uo= 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=gv9urixTXcyPrzcJGjNTDA4NFOgkqpyZgz+f2XByE2A=; b=ltyu1NB/9d6sh57DVJth2JyDYDx84vD8uWCkZv+zkJ1AJ9Q16+jgxd23QKjFAF6iI1 B0/q1MKJeOMv96UFOzCS0Nxw7X0tG+JcjRuO+LxHOROSKiWYm+dznIap2XYW1q5uz3kW 5/eUmUFKLPpMvuis/QnrzqX6zYI0I6BTcl92ipJm6YNjHMVOA0dXJSlzWuUTGa59bMMG oFYPd5hwc9dOBJ6r7aQXHPwFucw/eFWHtm3x6pPNlgOHqYSpHVu9XYTmG/5JUUUkVeu+ LPGcDh0JGqo3gvunEVIrpaTkB5ojyhboHK0VIjI9+iCLpPSAD0eloO7q0FWmy7wLIm7t X0mA== X-Gm-Message-State: AODbwcBTDygzBSN1/te2hXEAuJ3vh1zhw2OJnHFrlZCGLE5CKM8T3UvK b9MBF34lsaN08Z9SFpI= X-Received: by 10.25.26.206 with SMTP id a197mr7279191lfa.5.1496928477245; Thu, 08 Jun 2017 06:27:57 -0700 (PDT) Return-Path: Received: from uffe-XPS-13-9360.ideon.se ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id i8sm1025178ljb.55.2017.06.08.06.27.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 08 Jun 2017 06:27:56 -0700 (PDT) From: Ulf Hansson To: linux-mmc@vger.kernel.org, Ulf Hansson Cc: Jaehoon Chung , Adrian Hunter , Linus Walleij Subject: [PATCH 5/9] mmc: core: Make mmc_can_reset() static Date: Thu, 8 Jun 2017 15:27:41 +0200 Message-Id: <1496928465-25004-6-git-send-email-ulf.hansson@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1496928465-25004-1-git-send-email-ulf.hansson@linaro.org> References: <1496928465-25004-1-git-send-email-ulf.hansson@linaro.org> Signed-off-by: Ulf Hansson --- drivers/mmc/core/mmc.c | 3 +-- drivers/mmc/core/mmc_ops.h | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) -- 2.7.4 Reviewed-by: Linus Walleij diff --git a/drivers/mmc/core/mmc.c b/drivers/mmc/core/mmc.c index e3b6bea..ff6cdc3 100644 --- a/drivers/mmc/core/mmc.c +++ b/drivers/mmc/core/mmc.c @@ -2097,7 +2097,7 @@ static int mmc_runtime_resume(struct mmc_host *host) return 0; } -int mmc_can_reset(struct mmc_card *card) +static int mmc_can_reset(struct mmc_card *card) { u8 rst_n_function; @@ -2106,7 +2106,6 @@ int mmc_can_reset(struct mmc_card *card) return 0; return 1; } -EXPORT_SYMBOL(mmc_can_reset); static int mmc_reset(struct mmc_host *host) { diff --git a/drivers/mmc/core/mmc_ops.h b/drivers/mmc/core/mmc_ops.h index 063500c..9d6b15b 100644 --- a/drivers/mmc/core/mmc_ops.h +++ b/drivers/mmc/core/mmc_ops.h @@ -44,7 +44,6 @@ int mmc_switch(struct mmc_card *card, u8 set, u8 index, u8 value, int mmc_stop_bkops(struct mmc_card *card); int mmc_read_bkops_status(struct mmc_card *card); void mmc_start_bkops(struct mmc_card *card, bool from_exception); -int mmc_can_reset(struct mmc_card *card); int mmc_flush_cache(struct mmc_card *card); int mmc_cmdq_enable(struct mmc_card *card); int mmc_cmdq_disable(struct mmc_card *card);