From 75533a038632fbbd180c9f6621783aabfeeccf5c Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Thu, 17 Jul 2014 18:33:02 -0700 Subject: [PATCH] staging: gdm72xx: fix build errors This fixes the build errors in the dev_dbg() fixes in a previous patch. Reported-by: kbuild test robot To: Michalis Pappas Signed-off-by: Greg Kroah-Hartman --- drivers/staging/gdm72xx/gdm_sdio.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/gdm72xx/gdm_sdio.c b/drivers/staging/gdm72xx/gdm_sdio.c index a741c31c6875..7a0a0f221418 100644 --- a/drivers/staging/gdm72xx/gdm_sdio.c +++ b/drivers/staging/gdm72xx/gdm_sdio.c @@ -278,7 +278,7 @@ static void send_sdu(struct sdio_func *func, struct tx_cxt *tx) spin_unlock_irqrestore(&tx->lock, flags); - dev_dbg(func->dev, "sdio_send: %*ph\n", aggr_len - TYPE_A_HEADER_SIZE, + dev_dbg(&func->dev, "sdio_send: %*ph\n", aggr_len - TYPE_A_HEADER_SIZE, tx->sdu_buf + TYPE_A_HEADER_SIZE); for (pos = TYPE_A_HEADER_SIZE; pos < aggr_len; pos += TX_CHUNK_SIZE) { @@ -314,7 +314,7 @@ static void send_hci(struct sdio_func *func, struct tx_cxt *tx, { unsigned long flags; - dev_dbg(func->dev, "sdio_send: %*ph\n", t->len - TYPE_A_HEADER_SIZE, + dev_dbg(&func->dev, "sdio_send: %*ph\n", t->len - TYPE_A_HEADER_SIZE, t->buf + TYPE_A_HEADER_SIZE); send_sdio_pkt(func, t->buf, t->len); @@ -548,7 +548,7 @@ static void gdm_sdio_irq(struct sdio_func *func) } end_io: - dev_dbg(func->dev, "sdio_receive: %*ph\n", len, rx->rx_buf); + dev_dbg(&func->dev, "sdio_receive: %*ph\n", len, rx->rx_buf); len = control_sdu_tx_flow(sdev, rx->rx_buf, len); -- 2.30.2