mmc: make __mmc_release_bus() static
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>
This commit is contained in:
committed by
Pierre Ossman
parent
0b82684c3c
commit
261172fd1b
@@ -516,7 +516,7 @@ static void mmc_power_off(struct mmc_host *host)
|
|||||||
/*
|
/*
|
||||||
* Cleanup when the last reference to the bus operator is dropped.
|
* 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);
|
||||||
BUG_ON(host->bus_refs);
|
BUG_ON(host->bus_refs);
|
||||||
|
Reference in New Issue
Block a user