mmc: dw_mmc: remove _dev_info compile warning
authorSeungwon Jeon <tgih.jun@samsung.com>
Fri, 28 Sep 2012 10:13:11 +0000 (19:13 +0900)
committerChris Ball <cjb@laptop.org>
Wed, 7 Nov 2012 19:55:29 +0000 (14:55 -0500)
This patch removes the following warning.
drivers/mmc/host/dw_mmc.c:1976: warning: passing argument 1 of
'_dev_info' from incompatible pointer type

Signed-off-by: Seungwon Jeon <tgih.jun@samsung.com>
Acked-by: Will Newton <will.newton@imgtec.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/dw_mmc.c

index c2828f35c3b8812b4de12cb0fd4b75c28fa09bbf..250aa1836591bf48ec6b007c5833c8cfc67c0955 100644 (file)
@@ -1968,7 +1968,7 @@ static void dw_mci_init_dma(struct dw_mci *host)
        /* Determine which DMA interface to use */
 #ifdef CONFIG_MMC_DW_IDMAC
        host->dma_ops = &dw_mci_idmac_ops;
-       dev_info(&host->dev, "Using internal DMA controller.\n");
+       dev_info(host->dev, "Using internal DMA controller.\n");
 #endif
 
        if (!host->dma_ops)