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@xxxxxxxxx> > Signed-off-by: Tobias Klauser <tklauser@xxxxxxxxxx> Acked-by: Anton Vorontsov <cbouatmailru@xxxxxxxxx> Thanks! -- Anton Vorontsov Email: cbouatmailru@xxxxxxxxx -- To unsubscribe from this list: send the line "unsubscribe linux-serial" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html