From patchwork Thu Jun 8 13:27:37 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulf Hansson X-Patchwork-Id: 9775073 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 7D23F603F1 for ; Thu, 8 Jun 2017 13:36:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6F19125404 for ; Thu, 8 Jun 2017 13:36:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 63D4C28531; Thu, 8 Jun 2017 13:36:22 +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 30EFA28508 for ; Thu, 8 Jun 2017 13:36:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752101AbdFHN2G (ORCPT ); Thu, 8 Jun 2017 09:28:06 -0400 Received: from mail-lf0-f53.google.com ([209.85.215.53]:35410 "EHLO mail-lf0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751580AbdFHN2E (ORCPT ); Thu, 8 Jun 2017 09:28:04 -0400 Received: by mail-lf0-f53.google.com with SMTP id p189so18037487lfe.2 for ; Thu, 08 Jun 2017 06:28:03 -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=7z2OTnMY2snlFgfVVM1YRNOb2WURM9yGBCrSTGfExzU=; b=hVZeGLQ2P5zdD5Sdp10LHOU7MbfKggGErKNH8YMU5cHcTqK4pLrDyt5Y6w7ypUGCaN S3H+4h1W17WVyYklpRl2szmAlu9xUAVw7tGgYHBJrQc0Pb0pOUdO6JkjN5+EhC3n5aJL rFkjJ1Pq1I//8onD2be8HmubxL6CIFxPjaXto= 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=7z2OTnMY2snlFgfVVM1YRNOb2WURM9yGBCrSTGfExzU=; b=smPA+DWPESFkGIVdD6ZXxM9HEaCULcrAc57yp1vq4Wq3UBb8oSIsQO9XyaSypeo4mL SQaQBpxEwFfF1f8HTh1h5kKgPqSmyYP+f1UzyVawDpO2q1QN51+yaNdaA35EOWhQPWbV 8SqpuWY7qGdApAj3Dp61GnthP+BwWJGhnT3HXub9G9qv5RqozGbPy9iwoLJFyYV80F0z lI/15RDlGkWOk33HRnth1S2H0vrnMNs5xtIyEGDwD7Z9qXJwlQ5Vn8jJwi5c2UEaO8YB KI6cQWm5SXyCDtTRxyFNWBDjKg3nsYqQsY7RMkX2G6y+7mLPvCKD5sjzLX53woY4OKKw q4LA== X-Gm-Message-State: AODbwcCpXtHMbQluF0QogZfUlJkJDUxE+/CxKy6Ti+zFZdxs1RL8UPpz 0T/Pzc1w3VNrpQbLEgHWRg== X-Received: by 10.46.13.1 with SMTP id 1mr11884355ljn.134.1496928472252; Thu, 08 Jun 2017 06:27:52 -0700 (PDT) Received: from uffe-XPS-13-9360.ideon.se ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id i8sm1025178ljb.55.2017.06.08.06.27.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 08 Jun 2017 06:27:51 -0700 (PDT) From: Ulf Hansson To: linux-mmc@vger.kernel.org, Ulf Hansson Cc: Jaehoon Chung , Adrian Hunter , Linus Walleij Subject: [PATCH 1/9] mmc: core: Don't export some eMMC specific functions from core.c Date: Thu, 8 Jun 2017 15:27:37 +0200 Message-Id: <1496928465-25004-2-git-send-email-ulf.hansson@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1496928465-25004-1-git-send-email-ulf.hansson@linaro.org> References: <1496928465-25004-1-git-send-email-ulf.hansson@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 The mmc_start|stop_bkops(), mmc_read_bkops_status() and mmc_interrupt_hpi() functions are all used from within the mmc core module, thus there are no need to use EXPORT_SYMBOL() for them, so let's remove it. Signed-off-by: Ulf Hansson --- drivers/mmc/core/core.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/mmc/core/core.c b/drivers/mmc/core/core.c index ad8caf4..d48be0b 100644 --- a/drivers/mmc/core/core.c +++ b/drivers/mmc/core/core.c @@ -428,7 +428,6 @@ void mmc_start_bkops(struct mmc_card *card, bool from_exception) out: mmc_release_host(card->host); } -EXPORT_SYMBOL(mmc_start_bkops); /* * mmc_wait_data_done() - done callback for data request @@ -811,7 +810,6 @@ int mmc_interrupt_hpi(struct mmc_card *card) mmc_release_host(card->host); return err; } -EXPORT_SYMBOL(mmc_interrupt_hpi); /** * mmc_wait_for_cmd - start a command and wait for completion @@ -869,7 +867,6 @@ int mmc_stop_bkops(struct mmc_card *card) return err; } -EXPORT_SYMBOL(mmc_stop_bkops); int mmc_read_bkops_status(struct mmc_card *card) { @@ -887,7 +884,6 @@ int mmc_read_bkops_status(struct mmc_card *card) kfree(ext_csd); return 0; } -EXPORT_SYMBOL(mmc_read_bkops_status); /** * mmc_set_data_timeout - set the timeout for a data command