From patchwork Thu Jun 8 08:54:00 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 9774229 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 88DE460350 for ; Thu, 8 Jun 2017 08:54:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 76EF128536 for ; Thu, 8 Jun 2017 08:54:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6A5F128548; Thu, 8 Jun 2017 08:54:24 +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.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,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 0B70028536 for ; Thu, 8 Jun 2017 08:54:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751843AbdFHIyX (ORCPT ); Thu, 8 Jun 2017 04:54:23 -0400 Received: from mail-lf0-f51.google.com ([209.85.215.51]:35997 "EHLO mail-lf0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751825AbdFHIyW (ORCPT ); Thu, 8 Jun 2017 04:54:22 -0400 Received: by mail-lf0-f51.google.com with SMTP id o83so15230658lff.3 for ; Thu, 08 Jun 2017 01:54:21 -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=GBUN4fhjJ7J3uN6xRSZwe292kZ/jWsIg2Wo85bJedbk=; b=FyXlXvYQhykJxVZGW/UuNeGhGNn6ZVfxu68xCWgOGTQwW/fz0jQkxVB7WrpnIqdI5s XYJnpmcxhzAB8XglNDs9oChDA3n9GpCgPqqeHwvywcltq57yVS6XEFPYZSpxfLv08no9 0xoTSffFo37w9ea1CM5E65H+2RdkseB+VaWcE= 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=GBUN4fhjJ7J3uN6xRSZwe292kZ/jWsIg2Wo85bJedbk=; b=mSG2TTVhPF28vShd+uQ/JYAwgOwBxX/6UNceZ0mKnfahmkWvL3aqGYQLStIqZ0pF4t NCmDWWq/kOXDr+5AEY/PKM0mz7aIJZK8VTKQE8D/QoDLAgEqchXACBhagAnr0UwlZXoI 1abQKPrqvc/PoxAhGNA93EeiAZauPmpqwadPJ7tn35yt1ReapanbYHDUHcFkQOpDHCp5 vNChG4A03SdE5BO8wbPjSud0EHf9T1XX9B1bEEbeDmrmdQZ0DGAh7WkZ7vGmvzfac+Zn z5vvobhLMtVOMVxa2h6QC7188lkiqR4uMOYlDj1hLuRffxmDlLEimdrm5JswE6fnHd7m NHZA== X-Gm-Message-State: AODbwcDyiUSIrjsUfWOkNiZBBWa5Y7cKSadmg53ytRY7SRg4LBFxmVqk lnvDTi9R6i4SeonOURzHRQ== X-Received: by 10.46.92.135 with SMTP id q129mr11962399ljb.133.1496912060803; Thu, 08 Jun 2017 01:54:20 -0700 (PDT) Received: from genomnajs.ideon.se ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id n71sm878356lje.14.2017.06.08.01.54.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 08 Jun 2017 01:54:19 -0700 (PDT) From: Linus Walleij To: linux-mmc@vger.kernel.org, Ulf Hansson , Adrian Hunter Cc: Linus Walleij Subject: [PATCH 3/6 v3] mmc: ops: export mmc_get_status() Date: Thu, 8 Jun 2017 10:54:00 +0200 Message-Id: <20170608085403.11795-4-linus.walleij@linaro.org> X-Mailer: git-send-email 2.9.4 In-Reply-To: <20170608085403.11795-1-linus.walleij@linaro.org> References: <20170608085403.11795-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 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 ae1fc4818240..e6e47aef3849 100644 --- a/drivers/mmc/core/mmc_ops.c +++ b/drivers/mmc/core/mmc_ops.c @@ -82,6 +82,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) {