diff for duplicates of <20120502124700.30480.63274.sendpatchset@w520> diff --git a/a/1.txt b/N1/1.txt index a25d6d0..7165753 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -19,7 +19,7 @@ Signed-off-by: Magnus Damm <damm@opensource.se> -/* Au1x00 haven't got a standard divisor latch */ -static int _serial_dl_read(struct uart_8250_port *up) -{ -- if (up->port.iotype = UPIO_AU) +- if (up->port.iotype == UPIO_AU) - return __raw_readl(up->port.membase + 0x28); - else - return default_dl_read(up); @@ -27,7 +27,7 @@ Signed-off-by: Magnus Damm <damm@opensource.se> - -static void _serial_dl_write(struct uart_8250_port *up, int value) -{ -- if (up->port.iotype = UPIO_AU) +- if (up->port.iotype == UPIO_AU) - __raw_writel(value, up->port.membase + 0x28); - else - default_dl_write(up, value); @@ -36,7 +36,7 @@ Signed-off-by: Magnus Damm <damm@opensource.se> +#if defined(CONFIG_SERIAL_8250_RM9K) static int _serial_dl_read(struct uart_8250_port *up) { - return (up->port.iotype = UPIO_RM9000) ? + return (up->port.iotype == UPIO_RM9000) ? @@ -344,7 +327,7 @@ static void _serial_dl_write(struct uart } #endif diff --git a/a/content_digest b/N1/content_digest index d6e3e41..8ac32d1 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\020120502124642.30480.41373.sendpatchset@w520\0" "From\0Magnus Damm <magnus.damm@gmail.com>\0" "Subject\0[PATCH 02/06] serial8250: Use dl_read()/dl_write() on Alchemy\0" - "Date\0Wed, 02 May 2012 12:47:00 +0000\0" + "Date\0Wed, 02 May 2012 21:47:00 +0900\0" "To\0linux-serial@vger.kernel.org\0" "Cc\0horms@verge.net.au" arnd@arndb.de @@ -39,7 +39,7 @@ "-/* Au1x00 haven't got a standard divisor latch */\n" "-static int _serial_dl_read(struct uart_8250_port *up)\n" "-{\n" - "-\tif (up->port.iotype = UPIO_AU)\n" + "-\tif (up->port.iotype == UPIO_AU)\n" "-\t\treturn __raw_readl(up->port.membase + 0x28);\n" "-\telse\n" "-\t\treturn default_dl_read(up);\n" @@ -47,7 +47,7 @@ "-\n" "-static void _serial_dl_write(struct uart_8250_port *up, int value)\n" "-{\n" - "-\tif (up->port.iotype = UPIO_AU)\n" + "-\tif (up->port.iotype == UPIO_AU)\n" "-\t\t__raw_writel(value, up->port.membase + 0x28);\n" "-\telse\n" "-\t\tdefault_dl_write(up, value);\n" @@ -56,7 +56,7 @@ "+#if defined(CONFIG_SERIAL_8250_RM9K)\n" " static int _serial_dl_read(struct uart_8250_port *up)\n" " {\n" - " \treturn\t(up->port.iotype = UPIO_RM9000) ?\n" + " \treturn\t(up->port.iotype == UPIO_RM9000) ?\n" "@@ -344,7 +327,7 @@ static void _serial_dl_write(struct uart\n" " }\n" " #endif\n" @@ -144,4 +144,4 @@ " \tdefault:\n" " \t\tp->serial_in = io_serial_in;" -6f07ae5194b83e58521bcaf34a6ca87b9ec8fe633915a051b1899bf1e0ccaac8 +34963695370c5290ced0c5b362bfdced3aa36cfdb91d0663d66aa70e70a1e411
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.