mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-11 22:56:40 +07:00
5d89a48acf
Simply add an early_altera_uart_setup() prototype declaration, otherwise platform code have to do it in .c files, which is ugly. 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>
20 lines
461 B
C
20 lines
461 B
C
/*
|
|
* altera_uart.h -- Altera UART driver defines.
|
|
*/
|
|
|
|
#ifndef __ALTUART_H
|
|
#define __ALTUART_H
|
|
|
|
#include <linux/init.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) */
|
|
};
|
|
|
|
int __init early_altera_uart_setup(struct altera_uart_platform_uart *platp);
|
|
|
|
#endif /* __ALTUART_H */
|