nc100: Correct tty code
authorAlan Cox <alan@etchedpixels.co.uk>
Fri, 21 Nov 2014 23:20:11 +0000 (23:20 +0000)
committerAlan Cox <alan@etchedpixels.co.uk>
Fri, 21 Nov 2014 23:20:11 +0000 (23:20 +0000)
Update the nc100 specific tty code to match the new combined terminal structure

Kernel/platform-nc100/devtty.c

index 11019be..3e030a7 100644 (file)
@@ -111,7 +111,7 @@ void tty_setup(uint8_t minor)
        uint16_t b;
        if (minor == 1)
                return;
-       b = ttydata[2].c_cflag & CBAUD;
+       b = ttydata[2].termios.c_cflag & CBAUD;
        if (b < B150)
                b = B150;
        if (b > B19200)