summaryrefslogtreecommitdiff
path: root/sys/dev/uart/uart_tty.c
diff options
context:
space:
mode:
authorEd Schouten <ed@FreeBSD.org>2009-05-29 06:41:23 +0000
committerEd Schouten <ed@FreeBSD.org>2009-05-29 06:41:23 +0000
commitc5e30cc02b9bee4c53457d1bc4184b256ce1a569 (patch)
tree8504d18b61b10ae1ba84f3c8d91f1f3572bcce6f /sys/dev/uart/uart_tty.c
parentb6151caa3af4be855af359bf4d2872c45cb2263a (diff)
Notes
Diffstat (limited to 'sys/dev/uart/uart_tty.c')
-rw-r--r--sys/dev/uart/uart_tty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/uart/uart_tty.c b/sys/dev/uart/uart_tty.c
index 5fcf98e24316..cb77f65ecae9 100644
--- a/sys/dev/uart/uart_tty.c
+++ b/sys/dev/uart/uart_tty.c
@@ -356,7 +356,7 @@ uart_tty_attach(struct uart_softc *sc)
struct tty *tp;
int unit;
- sc->sc_u.u_tty.tp = tp = tty_alloc(&uart_tty_class, sc, NULL);
+ sc->sc_u.u_tty.tp = tp = tty_alloc(&uart_tty_class, sc);
unit = device_get_unit(sc->sc_dev);