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: 9819475 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 9E8F7603F3 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 8C1BD28643 for ; Fri, 30 Jun 2017 12:10:44 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 808D028665; 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.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 251C22865E for ; Fri, 30 Jun 2017 12:10:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751565AbdF3MIs (ORCPT ); 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 ); Fri, 30 Jun 2017 08:07:23 -0400 Received: by mail-lf0-f47.google.com with SMTP id h22so68990367lfk.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=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 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-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 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) {