Skip to contentSkip to conversation

make __mmc_release_bus() static

PATCH Applied Adrian Bunk 2 participants 2 messages Apr 13, 2008 – Apr 16, 2008 MMC, SD and SDIO

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 make __mmc_release_bus() static

This patch makes the needlessly global __mmc_release_bus() static.

---
383b3e66d17cbfd77a157e59983cb576a5a5259a diff --git a/drivers/mmc/core/core.c b/drivers/mmc/core/core.c index b966674..ab91b02 100644

drivers/mmc/core/core.c +1 -1
@@ -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);
#1 lore raw
Quoted 4 lines · On Sun, 13 Apr 2008 21:15:47 +0300 Adrian Bunk <[email protected]> wrote:

This patch makes the needlessly global __mmc_release_bus() static.

Applied, thanks.

Signature · 5 lines
     -- Pierre Ossman

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