serial: pch_uart: Update error message for dmaengine_prep_slave_sg() API
authorGeert Uytterhoeven <geert+renesas@glider.be>
Fri, 11 Jul 2014 16:13:26 +0000 (18:13 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 12 Jul 2014 00:49:46 +0000 (17:49 -0700)
Commit 16052827d98fbc13c31ebad560af4bd53e2b4dd5 ("dmaengine/dma_slave:
introduce inline wrappers") changed the code to use the new API, but forgot
to update an error message.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Cc: Jiri Kosina <trivial@kernel.org>
Cc: linux-serial@vger.kernel.org
--
v2:
  - New
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/pch_uart.c

index 0cb6a8e52bd08669fda3d830a39819b5c5af792f..2f06e5a7139635b1f652cb9fe55ff07fc2a5f39f 100644 (file)
@@ -1047,7 +1047,7 @@ static unsigned int dma_handle_tx(struct eg20t_port *priv)
                                        priv->sg_tx_p, nent, DMA_MEM_TO_DEV,
                                        DMA_PREP_INTERRUPT | DMA_CTRL_ACK);
        if (!desc) {
-               dev_err(priv->port.dev, "%s:device_prep_slave_sg Failed\n",
+               dev_err(priv->port.dev, "%s:dmaengine_prep_slave_sg Failed\n",
                        __func__);
                return 0;
        }