The message for port 1 outputs "port 0".

Signed-off-by: Heinrich Schuchardt <xypron.g...@gmx.de>
---
 arch/cris/arch-v32/drivers/sync_serial.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/cris/arch-v32/drivers/sync_serial.c 
b/arch/cris/arch-v32/drivers/sync_serial.c
index bbb806b..a289423 100644
--- a/arch/cris/arch-v32/drivers/sync_serial.c
+++ b/arch/cris/arch-v32/drivers/sync_serial.c
@@ -280,7 +280,7 @@ static int __init etrax_sync_serial_init(void)
 #if defined(CONFIG_ETRAX_SYNCHRONOUS_SERIAL_PORT1)
        if (crisv32_pinmux_alloc_fixed(pinmux_sser1)) {
                printk(KERN_WARNING
-                       "Unable to alloc pins for synchronous serial port 0\n");
+                       "Unable to alloc pins for synchronous serial port 1\n");
                return -EIO;
        }
        ports[1].enabled = 1;
-- 
2.0.0

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to