summaryrefslogtreecommitdiffstats
path: root/sys/dev/zs/zs.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2004-06-16 09:47:26 +0000
committerphk <phk@FreeBSD.org>2004-06-16 09:47:26 +0000
commitdfd1f7fd50fffaf75541921fcf86454cd8eb3614 (patch)
tree624c885995e84df6decddd3291c60a15e50e3c85 /sys/dev/zs/zs.c
parentcafb94bcea1cdf048e81b7eb2d24808e1a8c5280 (diff)
downloadFreeBSD-src-dfd1f7fd50fffaf75541921fcf86454cd8eb3614.zip
FreeBSD-src-dfd1f7fd50fffaf75541921fcf86454cd8eb3614.tar.gz
Do the dreaded s/dev_t/struct cdev */
Bump __FreeBSD_version accordingly.
Diffstat (limited to 'sys/dev/zs/zs.c')
-rw-r--r--sys/dev/zs/zs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/zs/zs.c b/sys/dev/zs/zs.c
index 4695526..bc848fb 100644
--- a/sys/dev/zs/zs.c
+++ b/sys/dev/zs/zs.c
@@ -447,7 +447,7 @@ zstty_softintr(struct zstty_softc *sc)
}
static int
-zsttyopen(dev_t dev, int flags, int mode, struct thread *td)
+zsttyopen(struct cdev *dev, int flags, int mode, struct thread *td)
{
struct zstty_softc *sc;
struct tty *tp;
@@ -503,7 +503,7 @@ zsttyopen(dev_t dev, int flags, int mode, struct thread *td)
}
static int
-zsttyclose(dev_t dev, int flags, int mode, struct thread *td)
+zsttyclose(struct cdev *dev, int flags, int mode, struct thread *td)
{
struct tty *tp;
@@ -519,7 +519,7 @@ zsttyclose(dev_t dev, int flags, int mode, struct thread *td)
}
static int
-zsttyioctl(dev_t dev, u_long cmd, caddr_t data, int flags, struct thread *td)
+zsttyioctl(struct cdev *dev, u_long cmd, caddr_t data, int flags, struct thread *td)
{
struct zstty_softc *sc;
struct tty *tp;
OpenPOWER on IntegriCloud