From: Julia Lawall <julia@xxxxxxx> As in the commit 9b4a1617772d6d5ab5eeda0cd95302fae119e359, use UPIO_MEM rather than SERIAL_IO_MEM. Both have the same value. The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // <smpl> @has_sc@ @@ #include <linux/serial_core.h> @depends on has_sc@ @@ - SERIAL_IO_MEM + UPIO_MEM // </smpl> Signed-off-by: Julia Lawall <julia@xxxxxxx> --- drivers/serial/atmel_serial.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -u -p a/drivers/serial/atmel_serial.c b/drivers/serial/atmel_serial.c --- a/drivers/serial/atmel_serial.c +++ b/drivers/serial/atmel_serial.c @@ -1200,7 +1200,7 @@ static int atmel_verify_port(struct uart ret = -EINVAL; if (port->irq != ser->irq) ret = -EINVAL; - if (ser->io_type != SERIAL_IO_MEM) + if (ser->io_type != UPIO_MEM) ret = -EINVAL; if (port->uartclk / 16 != ser->baud_base) ret = -EINVAL; -- To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html