diff options
Diffstat (limited to 'sys/dev/uart/uart_tty.c')
-rw-r--r-- | sys/dev/uart/uart_tty.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/uart/uart_tty.c b/sys/dev/uart/uart_tty.c index f42a7dc..ec10696 100644 --- a/sys/dev/uart/uart_tty.c +++ b/sys/dev/uart/uart_tty.c @@ -361,7 +361,7 @@ int uart_tty_detach(struct uart_softc *sc) } static int -uart_tty_open(dev_t dev, int flags, int mode, struct thread *td) +uart_tty_open(struct cdev *dev, int flags, int mode, struct thread *td) { struct uart_softc *sc; struct tty *tp; @@ -450,7 +450,7 @@ uart_tty_open(dev_t dev, int flags, int mode, struct thread *td) } static int -uart_tty_close(dev_t dev, int flags, int mode, struct thread *td) +uart_tty_close(struct cdev *dev, int flags, int mode, struct thread *td) { struct uart_softc *sc; struct tty *tp; @@ -485,7 +485,7 @@ uart_tty_close(dev_t dev, int flags, int mode, struct thread *td) } static int -uart_tty_ioctl(dev_t dev, u_long cmd, caddr_t data, int flags, +uart_tty_ioctl(struct cdev *dev, u_long cmd, caddr_t data, int flags, struct thread *td) { struct uart_softc *sc; |