From patchwork Sun Aug 20 21:39:07 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 9911451 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 79F76603F3 for ; Sun, 20 Aug 2017 21:39:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 71A8E286B6 for ; Sun, 20 Aug 2017 21:39:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 64D8F286CB; Sun, 20 Aug 2017 21:39:43 +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=-6.3 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID 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 57465286B6 for ; Sun, 20 Aug 2017 21:39:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753344AbdHTVj0 (ORCPT ); Sun, 20 Aug 2017 17:39:26 -0400 Received: from mail-lf0-f46.google.com ([209.85.215.46]:37275 "EHLO mail-lf0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753300AbdHTVj0 (ORCPT ); Sun, 20 Aug 2017 17:39:26 -0400 Received: by mail-lf0-f46.google.com with SMTP id f7so39962699lfg.4 for ; Sun, 20 Aug 2017 14:39:25 -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=cLtlRc7EJUgMXs1kIXk1/Zy8kk594OF1y3mduo/QoFk=; b=VDs1PPazutUfhPbrCRFMmQU9eX8E0MveVhon3aDLgfoQVRDoTI1rQfZVlIldnMcO6Z 9iBWGYENPzKILQHr2R8k+UsoLkn9cS0ZoK0UHCoAWNHLytXqFZPGiQwtP229fFHZa4G4 oeGV9HN+9ZPk+Mqv/vqTQuoEvSiPTIw3IsLd0= 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=cLtlRc7EJUgMXs1kIXk1/Zy8kk594OF1y3mduo/QoFk=; b=WMBrHJVmSWhO0Ibs3m4txxaBKJN1zGdyEe3gPh7qdF64OE/ygxcusu8OP2J/W2SBF7 GKm4XmGjCMnXL+dXFyOAl8rWZ7yfeiaupo2ztOKlcK3+VUmlGICQXuw3i717cR6qbcHb 5sr/ZZXdpj9yLK3DclTywUmUQ5ksAMRJSDn7HFf8N4KxNOSwTE2uJ5Fgar6iNPZyn8SR wbQrsGr7rpKTe7Z0etSqBlIO1BKOBq3fhM1YWLolrCaPq9yBil4dGWHPKj2WF+xwRsfM 8miPgaWEarllvpNt3N7XURJblhqo2Pby7grQaJBDlpWWAOY8dAOuhZyDoeBnm7ZkrJ2/ uYwQ== X-Gm-Message-State: AHYfb5i2+REZ+dI0Ml3iwxJkWw4jJRLHerJQm2A7b63mJYsbPR988r4D Ed/qvziGi1zi6OU+tKJWoA== X-Received: by 10.25.209.209 with SMTP id i200mr4585768lfg.119.1503265164562; Sun, 20 Aug 2017 14:39:24 -0700 (PDT) Received: from genomnajs.bredbandsbolaget.se (c-097b71d5.014-348-6c756e10.cust.bredbandsbolaget.se. [213.113.123.9]) by smtp.gmail.com with ESMTPSA id f136sm2381830lff.34.2017.08.20.14.39.23 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 20 Aug 2017 14:39:23 -0700 (PDT) From: Linus Walleij To: linux-mmc@vger.kernel.org, Ulf Hansson Cc: Linus Walleij Subject: [PATCH 2/8 v5] mmc: ops: export mmc_get_status() Date: Sun, 20 Aug 2017 23:39:07 +0200 Message-Id: <20170820213913.9737-3-linus.walleij@linaro.org> X-Mailer: git-send-email 2.13.5 In-Reply-To: <20170820213913.9737-1-linus.walleij@linaro.org> References: <20170820213913.9737-1-linus.walleij@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 This function retrieves the status of the card with the default number of retries. Since the block layer wants to use this, and since the block layer is a loadable kernel module, we need to export this symbol. Signed-off-by: Linus Walleij --- ChangeLog v4->v5: - No changes just resending ChangeLog v3->v4: - No changes just resending ChangeLog v2->v3: - New patch to fix a build error, enumerating v3 to keep it together with the other patches. --- drivers/mmc/core/mmc_ops.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mmc/core/mmc_ops.c b/drivers/mmc/core/mmc_ops.c index 6dd8ecde5079..54686ca4bfb7 100644 --- a/drivers/mmc/core/mmc_ops.c +++ b/drivers/mmc/core/mmc_ops.c @@ -83,6 +83,7 @@ int mmc_send_status(struct mmc_card *card, u32 *status) { return __mmc_send_status(card, status, MMC_CMD_RETRIES); } +EXPORT_SYMBOL_GPL(mmc_send_status); static int _mmc_select_card(struct mmc_host *host, struct mmc_card *card) {