make __mmc_release_bus() static
PATCH 1/1 make __mmc_release_bus() static
This patch makes the needlessly global __mmc_release_bus() static.
Signed-off-by Adrian Bunk <[email protected]>
---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);
Pierre Ossman
AppliedQuoted 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.Signed-off-by Adrian Bunk <[email protected]>
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