aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/altera_uart.h
diff options
context:
space:
mode:
authorAnton Vorontsov <cbouatmailru@gmail.com>2010-10-01 09:21:54 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2010-10-22 13:20:07 -0400
commit0d426eda7c94d864ead913f7099c623521368443 (patch)
tree97e8b817078c87bb26be2d8389daa4f063c0decd /include/linux/altera_uart.h
parent6b5756f176568a710d008d3b478128fafb6707f0 (diff)
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.h1
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 {
9 unsigned long mapbase; /* Physical address base */ 9 unsigned long mapbase; /* Physical address base */
10 unsigned int irq; /* Interrupt vector */ 10 unsigned int irq; /* Interrupt vector */
11 unsigned int uartclk; /* UART clock rate */ 11 unsigned int uartclk; /* UART clock rate */
12 unsigned int bus_shift; /* Bus shift (address stride) */
12}; 13};
13 14
14#endif /* __ALTUART_H */ 15#endif /* __ALTUART_H */