[2.6 patch] make __mmc_release_bus() static

From: Adrian Bunk
Date: Sun Apr 13 2008 - 14:17:49 EST


This patch makes the needlessly global __mmc_release_bus() static.

Signed-off-by: Adrian Bunk <bunk@xxxxxxxxxx>

---
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);

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/