]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - drivers/serial/serial_lpc2292.c
Merge branch 'next'
[karo-tx-uboot.git] / drivers / serial / serial_lpc2292.c
index fcab20280ec0b428ffe3ef8cbb393151681c79f7..8abc476713599c480f3dfde7b84a65ff2809e360 100644 (file)
@@ -89,13 +89,6 @@ static int lpc2292_serial_getc(void)
        return GET8(U0RBR);
 }
 
-static void lpc2292_serial_puts(const char *s)
-{
-       while (*s) {
-               serial_putc (*s++);
-       }
-}
-
 /* Test if there is a byte to read */
 static int lpc2292_serial_tstc(void)
 {
@@ -108,7 +101,7 @@ static struct serial_device lpc2292_serial_drv = {
        .stop   = NULL,
        .setbrg = lpc2292_serial_setbrg,
        .putc   = lpc2292_serial_putc,
-       .puts   = lpc2292_serial_puts,
+       .puts   = default_serial_puts,
        .getc   = lpc2292_serial_getc,
        .tstc   = lpc2292_serial_tstc,
 };