mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-10 15:58:47 +00:00
0d426eda7c
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>
16 lines
358 B
C
16 lines
358 B
C
/*
|
|
* altera_uart.h -- Altera UART driver defines.
|
|
*/
|
|
|
|
#ifndef __ALTUART_H
|
|
#define __ALTUART_H
|
|
|
|
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 */
|