Fixing trivial warnings

Nelson Castillo nelsoneci at gmail.com
Thu Oct 16 05:00:38 CEST 2008


From: Nelson Castillo <nelsoneci at gmail.com>

The function glamo_mci_reset is not being used. Let's comment it out.

Signed-off-by: Nelson Castillo <nelsoneci at gmail.com>
---

 drivers/mfd/glamo/glamo-mci.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)


diff --git a/drivers/mfd/glamo/glamo-mci.c b/drivers/mfd/glamo/glamo-mci.c
index 143ab3d..831dcae 100644
--- a/drivers/mfd/glamo/glamo-mci.c
+++ b/drivers/mfd/glamo/glamo-mci.c
@@ -712,6 +712,7 @@ static void glamo_mci_request(struct mmc_host *mmc, struct mmc_request *mrq)
 	glamo_mci_send_request(mmc);
 }
 
+#if 0
 static void glamo_mci_reset(struct glamo_mci_host *host)
 {
 	dev_dbg(&host->pdev->dev, "******* glamo_mci_reset\n");
@@ -727,7 +728,7 @@ static void glamo_mci_reset(struct glamo_mci_host *host)
 		   GLAMO_CLOCK_MMC_EN_M9CLK,
 		   glamo_mci_def_pdata.pglamo->base + GLAMO_REG_CLOCK_MMC);
 }
-
+#endif
 
 static void glamo_mci_set_ios(struct mmc_host *mmc, struct mmc_ios *ios)
 {



More information about the openmoko-kernel mailing list