[-mm patch] MMC: make tifm_sd_set_dma_data() static

Adrian Bunk
2007-04-28T19:19:48Z

On Wed, Apr 25, 2007 at 10:57:16PM -0700, Andrew Morton wrote:
>...
> Changes since 2.6.21-rc7-mm1:
>...
> git-mmc.patch
>...
> git trees
>...

This patch makes the needlessly global tifm_sd_set_dma_data() static.

Signed-off-by: Adrian Bunk <bunk@stusta.de>

---
--- linux-2.6.21-rc7-mm2/drivers/mmc/host/tifm_sd.c.old 2007-04-28 01:36:33.000000000 +0200
+++ linux-2.6.21-rc7-mm2/drivers/mmc/host/tifm_sd.c 2007-04-28 01:36:41.000000000 +0200
@@ -259,7 +259,7 @@
}
}

-int tifm_sd_set_dma_data(struct tifm_sd *host, struct mmc_data *r_data)
+static int tifm_sd_set_dma_data(struct tifm_sd *host, struct mmc_data *r_data)
{
struct tifm_dev *sock = host->dev;
unsigned int t_size = TIFM_DMA_TSIZE * r_data->blksz;