Message ID | 20170630120649.27007-2-linus.walleij@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.182.135.102 with SMTP id pr6csp5835617obb; Fri, 30 Jun 2017 05:10:53 -0700 (PDT) X-Received: by 10.84.196.129 with SMTP id l1mr24366333pld.109.1498824653459; Fri, 30 Jun 2017 05:10:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1498824653; cv=none; d=google.com; s=arc-20160816; b=OmIhtx34yreV5tH5wjpxAicioD+Ef3VfVXfV4Pqjheuv/qZrgHq/4JyjiUplJia8mn PcY7UCUG2ENfDMrSjYjhjJHo1SixUO52OMKueVDBCmHkOYjhqeStCrlznOJ7TM9ZzLhi BaZj4b+4PRi3MtBt2Yq3Q95OqEiXta9gWR7Mb2MfVZHIioj8+RgDMmcyrnyblK5c89Bv M3lQv6cGHjMBxrM3mLU/qcykPMr30ptHQbtg++Z5PoAHSKQFJIybc/wR19hWnhgTZIhF 6NG53iJcOO/FhC2KxlpngpocUkoHdtbEK73d2dxjFhfEW9hcoqKEshVe7kq9TlLlahlm bb5A== 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=1N9nyL/jN6AHwneNCXak0+DrvjTrFm/hs1qTR7rqgkc=; b=Q8e1iOo37i2wsOIgCmjil5RFg/nccmeh1NIlPr7IM8ggeI+B6GF2DYgt0syOTno7Qv pNCJC89Q75iw2bsEWIjBRxNfHvdPIcfZ9vEsRC9noZ9KTUGfzf3wQcp7ViSj//pVcbPY BGYb8qNutXN8N3rDCJWC0Bb+PrsqH3XJiqTI3v+TatfRqDQH8UFxwy3HCtxC0uw5zZI4 xoIUlmNT90Z9VlcU0ZEfnucnpL35ZkKcrIWHW7slfE61vr6yYtBtXShJLsgp3+lz5o/N pBoEdTcGGHIC8B0dEm8Yv4m4NTWiGSCQkQlmmcXi/vdKHJhwTAbWdyxS5yviPb3FJh+S X3ag== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.b=kscGwodj; 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 i187si5612045pfc.217.2017.06.30.05.10.53; Fri, 30 Jun 2017 05:10:53 -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 header.b=kscGwodj; 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 S1751565AbdF3MIs (ORCPT <rfc822;georgi.djakov@linaro.org> + 6 others); Fri, 30 Jun 2017 08:08:48 -0400 Received: from mail-lf0-f47.google.com ([209.85.215.47]:35925 "EHLO mail-lf0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752009AbdF3MHX (ORCPT <rfc822; linux-mmc@vger.kernel.org>); Fri, 30 Jun 2017 08:07:23 -0400 Received: by mail-lf0-f47.google.com with SMTP id h22so68990367lfk.3 for <linux-mmc@vger.kernel.org>; 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=hl2n8AbyB4F/DEXA+xyj5D8XNVN3/tlLPjOXx/C9iNbTvcL6Alu88QteMs85ashXjW j+zHCYdg4paKDo8uuQhoYGg/mjJUibJnZY3w0KvZ6Sam6flfv+7LrA6oyUFXl84JLktu X4CzldatULOS5Y8++KVAa6Edod1iSjVC31pYCui/6W+oNss4kxP5C+prcyb5Buyopaga aoIr+ftineBIzQ3ojrYj5+dqlBJC1+E86FiKVz8GLuezkdnnhM3KTJqnTkJ08p+ibPk5 L2cAlpkAk3S+WqLUGkFmovLkrpxoXfxloEQHCwaaFiMdo1uCgIDX7NpeD775RHH/sBFQ pcHw== X-Gm-Message-State: AKS2vOyO2/t9oyXRWHFsF7Lg2rVVggSvwowM1A7PLpGImscq/3uvVHdb i/Cr/GK9tKyylnYRqPYmYQ== 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 <linus.walleij@linaro.org> To: linux-mmc@vger.kernel.org, Ulf Hansson <ulf.hansson@linaro.org> Cc: linux-block@vger.kernel.org, Jens Axboe <axboe@kernel.dk>, Christoph Hellwig <hch@lst.de>, Arnd Bergmann <arnd@arndb.de>, Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>, Paolo Valente <paolo.valente@linaro.org>, Avri Altman <Avri.Altman@sandisk.com>, Adrian Hunter <adrian.hunter@intel.com>, Linus Walleij <linus.walleij@linaro.org> 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-mmc-owner@vger.kernel.org Precedence: bulk List-ID: <linux-mmc.vger.kernel.org> X-Mailing-List: linux-mmc@vger.kernel.org |
Series |
[1/3,v4] mmc: block: Anonymize the drv op data pointer
|
expand
|
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) {
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 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(+) -- 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