diff --git a/sys/arm/sa11x0/uart_bus_sa1110.c b/sys/arm/sa11x0/uart_bus_sa1110.c index 6ff3addff190..fd4b164b6de9 100644 --- a/sys/arm/sa11x0/uart_bus_sa1110.c +++ b/sys/arm/sa11x0/uart_bus_sa1110.c @@ -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), diff --git a/sys/arm/sa11x0/uart_cpu_sa1110.c b/sys/arm/sa11x0/uart_cpu_sa1110.c index a8967cd5f38b..82054cda03a3 100644 --- a/sys/arm/sa11x0/uart_cpu_sa1110.c +++ b/sys/arm/sa11x0/uart_cpu_sa1110.c @@ -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) {