mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [2.6 patch] make __mmc_release_bus() static
@ 2008-04-13 18:15 Adrian Bunk
  2008-04-16 17:30 ` Pierre Ossman
  0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2008-04-13 18:15 UTC (permalink / raw)
  To: drzeus-mmc; +Cc: linux-kernel

This patch makes the needlessly global __mmc_release_bus() static.

Signed-off-by: Adrian Bunk <bunk@kernel.org>

---
383b3e66d17cbfd77a157e59983cb576a5a5259a diff --git a/drivers/mmc/core/core.c b/drivers/mmc/core/core.c
index b966674..ab91b02 100644
--- a/drivers/mmc/core/core.c
+++ b/drivers/mmc/core/core.c
@@ -516,7 +516,7 @@ static void mmc_power_off(struct mmc_host *host)
 /*
  * Cleanup when the last reference to the bus operator is dropped.
  */
-void __mmc_release_bus(struct mmc_host *host)
+static void __mmc_release_bus(struct mmc_host *host)
 {
 	BUG_ON(!host);
 	BUG_ON(host->bus_refs);


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [2.6 patch] make __mmc_release_bus() static
  2008-04-13 18:15 [2.6 patch] make __mmc_release_bus() static Adrian Bunk
@ 2008-04-16 17:30 ` Pierre Ossman
  0 siblings, 0 replies; 2+ messages in thread
From: Pierre Ossman @ 2008-04-16 17:30 UTC (permalink / raw)
  To: Adrian Bunk; +Cc: linux-kernel

On Sun, 13 Apr 2008 21:15:47 +0300
Adrian Bunk <bunk@kernel.org> wrote:

> This patch makes the needlessly global __mmc_release_bus() static.
> 
> Signed-off-by: Adrian Bunk <bunk@kernel.org>
> 

Applied, thanks.


-- 
     -- Pierre Ossman

  Linux kernel, MMC maintainer        http://www.kernel.org
  PulseAudio, core developer          http://pulseaudio.org
  rdesktop, core developer          http://www.rdesktop.org

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-04-16 17:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-13 18:15 [2.6 patch] make __mmc_release_bus() static Adrian Bunk
2008-04-16 17:30 ` Pierre Ossman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®