Skip to contentSkip to conversation

mmc: vub300: Staticize vub300_init_card()

PATCH In review Jingoo Han 1 participant 1 message Aug 1, 2013 MMC, SD and SDIO

lore
Share & tools
lore

Jingoo Han

author
#0 lore raw

PATCH 2/2 mmc: vub300: Staticize vub300_init_card()

vub300_init_card() is used only in this file.
Fix the following sparse warning:

drivers/mmc/host/vub300.c:2082:6: warning: symbol 'vub300_init_card' was not declared. Should it be static?

---
 drivers/mmc/host/vub300.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mmc/host/vub300.c +1 -1
index cb9f361..e9028ad 100644
@@ -2079,7 +2079,7 @@ static void vub300_enable_sdio_irq(struct mmc_host *mmc, int enable)
 	kref_put(&vub300->kref, vub300_delete);
 }
 
-void vub300_init_card(struct mmc_host *mmc, struct mmc_card *card)
+static void vub300_init_card(struct mmc_host *mmc, struct mmc_card *card)
 {				/* NOT irq */
 	struct vub300_mmc_host *vub300 = mmc_priv(mmc);
 	dev_info(&vub300->udev->dev, "NO host QUIRKS for this card\n");
Signature · 1 line
1.7.10.4