From patchwork Fri Jun 30 12:06:48 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 9819473 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 880AF6035F for ; Fri, 30 Jun 2017 12:10:44 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7A21628643 for ; Fri, 30 Jun 2017 12:10:44 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6E26A28658; Fri, 30 Jun 2017 12:10:44 +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.5 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM 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 02A9C28657 for ; Fri, 30 Jun 2017 12:10:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751668AbdF3MIt (ORCPT ); Fri, 30 Jun 2017 08:08:49 -0400 Received: from mail-lf0-f43.google.com ([209.85.215.43]:35923 "EHLO mail-lf0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751917AbdF3MHX (ORCPT ); Fri, 30 Jun 2017 08:07:23 -0400 Received: by mail-lf0-f43.google.com with SMTP id h22so68990296lfk.3 for ; Fri, 30 Jun 2017 05:07:22 -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=Upt2h5gEs/vi/huw9w8iwJZelIZ6bGF+jPv+sXRDAe8=; b=kscGwodjAd6bdyRjf/KTVaM3WYQAjZxvzOJv5EKbhkJ4DWpjOtokTbqySJg1e01hgl o5gkSkbmMAbrCRikn7pcx4dl2Mx5LiPOLHEDzZvWtQ/PSo1imeFvblfBDUd3hftoYU5T csintaW5W6IsEgu8iXvm9Vnr+OeUEFUZIEwNc= 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=Upt2h5gEs/vi/huw9w8iwJZelIZ6bGF+jPv+sXRDAe8=; b=mabgmD10dFScwULA4hBgzJR5nGgoSnmuV+dA/OyyzZ743Tmkdt1FL4BPXax44l93VN CbNbkAi/RmIrWuoOZ3LU0k+cmAoBiF3ROloxBjxtFZGGO9nooW/L8smBfqbSMa6B3tNu 35KJQDYRFaIwI/z0vrIMIEQMcRoG0npUhbz7qoTjkvc033iQOOfztLaKqpQrYXtakn1T KV/x0p0Tiwr3woTSpedqxy//Tylkcs0DrHiThuEwdsvAzGafWQyE26uRq3Xq+lmFK3mC hrlVbDRD9GoQ/jgoDFGqshX0UCCqcIQ2RmaELvu082o+/BcinrVVuSof1Evuq7WVZD2v xZIg== X-Gm-Message-State: AKS2vOylqz2LIBO3T+9vtj36QhelZlViXKXPymHXmHhT4wZqcLeIudBY Kq/m+hTyt03AfNCz X-Received: by 10.25.79.9 with SMTP id d9mr4348556lfb.133.1498824436181; Fri, 30 Jun 2017 05:07:16 -0700 (PDT) Received: from genomnajs.ideon.se ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id 19sm1531492ljv.62.2017.06.30.05.07.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 30 Jun 2017 05:07:14 -0700 (PDT) From: Linus Walleij To: linux-mmc@vger.kernel.org, Ulf Hansson Cc: linux-block@vger.kernel.org, Jens Axboe , Christoph Hellwig , Arnd Bergmann , Bartlomiej Zolnierkiewicz , Paolo Valente , Avri Altman , Adrian Hunter , Linus Walleij Subject: [PATCH 2/3 v4] mmc: ops: export mmc_get_status() Date: Fri, 30 Jun 2017 14:06:48 +0200 Message-Id: <20170630120649.27007-2-linus.walleij@linaro.org> X-Mailer: git-send-email 2.9.4 In-Reply-To: <20170630120649.27007-1-linus.walleij@linaro.org> References: <20170630120649.27007-1-linus.walleij@linaro.org> Sender: linux-block-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-block@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 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 5f7c5920231a..b56fa822ab6b 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) {