summaryrefslogtreecommitdiff
path: root/sys/dev/uart/uart_tty.c
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2004-06-16 09:47:26 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2004-06-16 09:47:26 +0000
commit89c9c53da05197f657dfe8e0bdda6941a2e9a0d4 (patch)
tree624c885995e84df6decddd3291c60a15e50e3c85 /sys/dev/uart/uart_tty.c
parentd420fcda27350a7e2d3d8f3b2c9de6aa74df2e30 (diff)
Notes
Diffstat (limited to 'sys/dev/uart/uart_tty.c')
-rw-r--r--sys/dev/uart/uart_tty.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/uart/uart_tty.c b/sys/dev/uart/uart_tty.c
index f42a7dc16f59..ec1069666641 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;