altera_uart: Add support for different address strides
authorAnton Vorontsov <cbouatmailru@gmail.com>
Fri, 1 Oct 2010 13:21:54 +0000 (17:21 +0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 22 Oct 2010 17:20:07 +0000 (10:20 -0700)
commit0d426eda7c94d864ead913f7099c623521368443
tree97e8b817078c87bb26be2d8389daa4f063c0decd
parent6b5756f176568a710d008d3b478128fafb6707f0
altera_uart: Add support for different address strides

Some controllers implement registers with a stride, to support
those we must implement the proper IO accessors.

Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
Acked-by: Tobias Klauser <tklauser@distanz.ch>
Cc: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/serial/altera_uart.c
include/linux/altera_uart.h