All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ulf Hansson <ulf.hansson@linaro.org>
To: linux-mmc@vger.kernel.org, Ulf Hansson <ulf.hansson@linaro.org>
Cc: Jaehoon Chung <jh80.chung@samsung.com>,
	Adrian Hunter <adrian.hunter@intel.com>,
	Linus Walleij <linus.walleij@linaro.org>
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	[thread overview]
Message-ID: <1496928465-25004-2-git-send-email-ulf.hansson@linaro.org> (raw)
In-Reply-To: <1496928465-25004-1-git-send-email-ulf.hansson@linaro.org>

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 <ulf.hansson@linaro.org>
---
 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
-- 
2.7.4


  reply	other threads:[~2017-06-08 13:28 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-08 13:27 [PATCH 0/9] mmc: core: Some trivial re-factoring and cleanups Ulf Hansson
2017-06-08 13:27 ` Ulf Hansson [this message]
2017-06-09 13:22   ` [PATCH 1/9] mmc: core: Don't export some eMMC specific functions from core.c Linus Walleij
2017-06-09 13:32     ` Ulf Hansson
2017-06-08 13:27 ` [PATCH 2/9] mmc: core: Move mmc bkops functions from core.c to mmc_ops.c Ulf Hansson
2017-06-09 13:23   ` Linus Walleij
2017-06-09 13:34     ` Ulf Hansson
2017-06-08 13:27 ` [PATCH 3/9] mmc: core: Move mmc_interrupt_hpi() " Ulf Hansson
2017-06-09 13:24   ` Linus Walleij
2017-06-08 13:27 ` [PATCH 4/9] mmc: core: Move mmc_flush_cache() " Ulf Hansson
2017-06-09 13:25   ` Linus Walleij
2017-06-08 13:27 ` [PATCH 5/9] mmc: core: Make mmc_can_reset() static Ulf Hansson
2017-06-09 13:27   ` Linus Walleij
2017-06-08 13:27 ` [PATCH 6/9] mmc: core: Remove redundant code in mmc_send_cid() Ulf Hansson
2017-06-09 13:29   ` Linus Walleij
2017-06-08 13:27 ` [PATCH 7/9] mmc: core: Re-factor code for sending CID Ulf Hansson
2017-06-09 13:32   ` Linus Walleij
2017-06-08 13:27 ` [PATCH 8/9] mmc: core: Drop mmc_all_send_cid() and use mmc_send_cxd_native() instead Ulf Hansson
2017-06-09 13:32   ` Linus Walleij
2017-06-08 13:27 ` [PATCH 9/9] mmc: core: Clarify code for sending CSD Ulf Hansson
2017-06-09 13:33   ` Linus Walleij
2017-06-16  0:49 ` [PATCH 0/9] mmc: core: Some trivial re-factoring and cleanups Shawn Lin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1496928465-25004-2-git-send-email-ulf.hansson@linaro.org \
    --to=ulf.hansson@linaro.org \
    --cc=adrian.hunter@intel.com \
    --cc=jh80.chung@samsung.com \
    --cc=linus.walleij@linaro.org \
    --cc=linux-mmc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.