1 /* 2 * altera_uart.h -- Altera UART driver defines. 3 */ 4 5 #ifndef __ALTUART_H 6 #define __ALTUART_H 7 8 #include <linux/init.h> 9 10 struct altera_uart_platform_uart { 11 unsigned long mapbase; /* Physical address base */ 12 unsigned int irq; /* Interrupt vector */ 13 unsigned int uartclk; /* UART clock rate */ 14 unsigned int bus_shift; /* Bus shift (address stride) */ 15 }; 16 17 int __init early_altera_uart_setup(struct altera_uart_platform_uart *platp); 18 19 #endif /* __ALTUART_H */ 20