diff --git a/sys/dev/uart/uart_dev_snps.c b/sys/dev/uart/uart_dev_snps.c index ebc6d18103f6..26696621c7d2 100644 --- a/sys/dev/uart/uart_dev_snps.c +++ b/sys/dev/uart/uart_dev_snps.c @@ -107,7 +107,7 @@ snps_uart_attach(struct uart_softc *uart_sc) sc = (struct snps_softc *)uart_sc; /* UART requires to read USR reg when IIR_BUSY */ - sc->ns8250.busy_detect = 1; + uart_sc->sc_bas.busy_detect = 1; return (ns8250_bus_attach(uart_sc)); }