diff mbox

mmc: dw_mmc: remove the compiling warning

Message ID 00ff01cd9d61$dd516520$97f42f60$%jun@samsung.com (mailing list archive)
State New, archived
Headers show

Commit Message

Seungwon Jeon Sept. 28, 2012, 10:13 a.m. UTC
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>
---
 drivers/mmc/host/dw_mmc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Comments

Will Newton Sept. 28, 2012, 10:42 a.m. UTC | #1
On Fri, Sep 28, 2012 at 11:13 AM, Seungwon Jeon <tgih.jun@samsung.com> wrote:
> 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>
> ---
>  drivers/mmc/host/dw_mmc.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)

Acked-by: Will Newton <will.newton@imgtec.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Chris Ball Oct. 23, 2012, 9:08 p.m. UTC | #2
Hi,

On Fri, Sep 28 2012, Will Newton wrote:
> On Fri, Sep 28, 2012 at 11:13 AM, Seungwon Jeon <tgih.jun@samsung.com> wrote:
>> 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>
>> ---
>>  drivers/mmc/host/dw_mmc.c |    2 +-
>>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> Acked-by: Will Newton <will.newton@imgtec.com>

Thanks, pushed to mmc-next for 3.7.

- Chris.
diff mbox

Patch

diff --git a/drivers/mmc/host/dw_mmc.c b/drivers/mmc/host/dw_mmc.c
index a23af77..026cf92 100644
--- a/drivers/mmc/host/dw_mmc.c
+++ b/drivers/mmc/host/dw_mmc.c
@@ -1973,7 +1973,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)