diff options
author | Anton Vorontsov <cbouatmailru@gmail.com> | 2010-10-01 17:21:54 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-10-22 21:20:07 +0400 |
commit | 0d426eda7c94d864ead913f7099c623521368443 (patch) | |
tree | 97e8b817078c87bb26be2d8389daa4f063c0decd /include/linux/altera_uart.h | |
parent | 6b5756f176568a710d008d3b478128fafb6707f0 (diff) | |
download | linux-0d426eda7c94d864ead913f7099c623521368443.tar.xz |
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>
Diffstat (limited to 'include/linux/altera_uart.h')
-rw-r--r-- | include/linux/altera_uart.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/altera_uart.h b/include/linux/altera_uart.h index 8d441064a30d..c022c82db7ca 100644 --- a/include/linux/altera_uart.h +++ b/include/linux/altera_uart.h @@ -9,6 +9,7 @@ struct altera_uart_platform_uart { unsigned long mapbase; /* Physical address base */ unsigned int irq; /* Interrupt vector */ unsigned int uartclk; /* UART clock rate */ + unsigned int bus_shift; /* Bus shift (address stride) */ }; #endif /* __ALTUART_H */ |