]> err.no Git - linux-2.6/commitdiff
mmc: make __mmc_release_bus() static
authorAdrian Bunk <bunk@kernel.org>
Sun, 13 Apr 2008 18:15:47 +0000 (21:15 +0300)
committerPierre Ossman <drzeus@drzeus.cx>
Fri, 18 Apr 2008 18:05:32 +0000 (20:05 +0200)
This patch makes the needlessly global __mmc_release_bus() static.

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
drivers/mmc/core/core.c

index b96667448eb5618ffcfae4e02e15cfaeca52146f..ab91b02b2bffdfa2b4f784b43c482815e1734fc5 100644 (file)
@@ -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);