From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753267AbbJ0HrJ (ORCPT ); Tue, 27 Oct 2015 03:47:09 -0400 Received: from mail-pa0-f47.google.com ([209.85.220.47]:35646 "EHLO mail-pa0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752101AbbJ0HrG (ORCPT ); Tue, 27 Oct 2015 03:47:06 -0400 From: Saurabh Sengar To: gregkh@linuxfoundation.org, jslaby@suse.com, linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Saurabh Sengar Subject: [PATCH] tty: serial: sa1100.c: use UPIO_MEM rather than SERIAL_IO_MEM Date: Tue, 27 Oct 2015 13:16:57 +0530 Message-Id: <1445932017-4136-1-git-send-email-saurabh.truth@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org use UPIO_MEM rather then SERIAL_IO_MEM. both have the same value Signed-off-by: Saurabh Sengar --- drivers/tty/serial/sa1100.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/serial/sa1100.c b/drivers/tty/serial/sa1100.c index fd3d132..283c7e0 100644 --- a/drivers/tty/serial/sa1100.c +++ b/drivers/tty/serial/sa1100.c @@ -579,7 +579,7 @@ sa1100_verify_port(struct uart_port *port, struct serial_struct *ser) ret = -EINVAL; if (sport->port.irq != ser->irq) ret = -EINVAL; - if (ser->io_type != SERIAL_IO_MEM) + if (ser->io_type != UPIO_MEM) ret = -EINVAL; if (sport->port.uartclk / 16 != ser->baud_base) ret = -EINVAL; -- 1.9.1