Message ID | 20170608085403.11795-4-linus.walleij@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.140.91.77 with SMTP id y71csp2337021qgd; Thu, 8 Jun 2017 01:54:24 -0700 (PDT) X-Received: by 10.101.72.135 with SMTP id n7mr36359214pgs.198.1496912064238; Thu, 08 Jun 2017 01:54:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1496912064; cv=none; d=google.com; s=arc-20160816; b=yH+6C5AmXdaifg0Ln3gYl9KfC7KkpPqhUKQmY9Lmd1DLxBzA+Iwh1U2xLG6baOryS6 ifNNBDyFKle6vwZAJ7eQ/RU2Wex93Y0jcNZNNLz6qevLuuzOTVC+ZX53Ng8neo7wSbO8 l0eLHRiPUbRQpjXJING122wTj46FQdUERhAg7gpcba6ITCZzEtTWlxW+Du6ra4nuGaWN ono1m59/7nnVjD56zl3lUt0enfxSkyCvhf7aVKcuvpbMohpIlIdkYAIHZ81fg97lJS5P Y5PaPO5zhZrk2A44/UV7DUa0Y4rtxGczk+zEDQu0y4PP9pC2KgLq404UMKwtcFmemFpa 7wNQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=WC2ekL/+LMIgY8nZNWNonb71zmMG+y22HS7ggbolFIE=; b=ETEVf+EgNjyt+9EPwiMSO9eZ8J2EaEHpHUVp3rUJRlUGEWicsW8aaxQ7/6vH1fN2sk 4XXIVmdT+9HEfnSz2fCdwP+I80Bg5qQFJPCfrQ4fREdNAC4L0fgtgh+iiuvDpwevdHZA 2v8LN4yp41lRVG9/UrKEBm1HUcrsvvSTiKowIp8VCmq20dC8fhEG/RHFJq+/qT9E3gkt xifsDzkZvsbAO+zXeICmrorC6uAS350bPBGNxqioqdkfG78Xt190M2aQx6dfqqnI1Dqs U2gkIGfYiau69/dkaWuKxqScfkxGaEH1yaqjMoEc5pdK4lrBSQ0/YeI3fJ+0qrY23if/ vHYA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-mmc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-mmc-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <linux-mmc-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x196si4121624pgx.147.2017.06.08.01.54.24; Thu, 08 Jun 2017 01:54:24 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-mmc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-mmc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-mmc-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751843AbdFHIyX (ORCPT <rfc822;georgi.djakov@linaro.org> + 6 others); 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 <rfc822;linux-mmc@vger.kernel.org>); Thu, 8 Jun 2017 04:54:22 -0400 Received: by mail-lf0-f51.google.com with SMTP id o83so15230658lff.3 for <linux-mmc@vger.kernel.org>; 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 <linus.walleij@linaro.org> To: linux-mmc@vger.kernel.org, Ulf Hansson <ulf.hansson@linaro.org>, Adrian Hunter <adrian.hunter@intel.com> Cc: Linus Walleij <linus.walleij@linaro.org> 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: <linux-mmc.vger.kernel.org> X-Mailing-List: linux-mmc@vger.kernel.org |
Series |
None
|
expand
|
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) {
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 <linus.walleij@linaro.org> --- 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(+) -- 2.9.4 -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html