Define uart_sa1110_ops and uart_sa1110_classe in .c files instead of spamming

uart_cpu.h
This commit is contained in:
Olivier Houchard 2004-05-14 13:42:50 +00:00
parent d6301dcdbb
commit fffcd6531e
2 changed files with 5 additions and 0 deletions

View File

@ -46,6 +46,8 @@ __FBSDID("$FreeBSD$");
static int uart_sa1110_probe(device_t dev);
extern struct uart_class uart_sa1110_class;
static device_method_t uart_sa1110_methods[] = {
/* Device interface */
DEVMETHOD(device_probe, uart_sa1110_probe),

View File

@ -40,6 +40,9 @@ __FBSDID("$FreeBSD$");
bus_space_tag_t uart_bus_space_io;
bus_space_tag_t uart_bus_space_mem;
extern struct uart_ops uart_sa1110_ops;
int
uart_cpu_eqres(struct uart_bas *b1, struct uart_bas *b2)
{