[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110209104635.GB21588@oksana.dev.rtsoft.ru>
Date: Wed, 9 Feb 2011 13:46:35 +0300
From: Anton Vorontsov <cbouatmailru@...il.com>
To: Tobias Klauser <tklauser@...tanz.ch>
Cc: Greg Kroah-Hartman <gregkh@...e.de>, linux-serial@...r.kernel.org,
nios2-dev@...c.et.ntust.edu.tw, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/4] tty: serial: altera_uart: Use port->regshift to
store bus shift
On Wed, Feb 09, 2011 at 10:57:04AM +0100, Tobias Klauser wrote:
> Use the regshift member of struct uart_port to store the address stride
> from platform data. This way we can save one dereference per call of
> altera_uart_readl and altera_uart_writel.
>
> This also allows us to use the driver without platform data, which is
> needed for device tree support in the Nios2 port.
>
> Cc: Anton Vorontsov <cbouatmailru@...il.com>
> Signed-off-by: Tobias Klauser <tklauser@...tanz.ch>
Acked-by: Anton Vorontsov <cbouatmailru@...il.com>
Thanks!
--
Anton Vorontsov
Email: cbouatmailru@...il.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists