diff options
author | phk <phk@FreeBSD.org> | 2004-06-16 09:47:26 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2004-06-16 09:47:26 +0000 |
commit | dfd1f7fd50fffaf75541921fcf86454cd8eb3614 (patch) | |
tree | 624c885995e84df6decddd3291c60a15e50e3c85 /sys/dev/speaker | |
parent | cafb94bcea1cdf048e81b7eb2d24808e1a8c5280 (diff) | |
download | FreeBSD-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/speaker')
-rw-r--r-- | sys/dev/speaker/spkr.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/speaker/spkr.c b/sys/dev/speaker/spkr.c index e73ab8d..2dc74e3 100644 --- a/sys/dev/speaker/spkr.c +++ b/sys/dev/speaker/spkr.c @@ -472,7 +472,7 @@ static char *spkr_inbuf; /* incoming buf */ static int spkropen(dev, flags, fmt, td) - dev_t dev; + struct cdev *dev; int flags; int fmt; struct thread *td; @@ -499,7 +499,7 @@ spkropen(dev, flags, fmt, td) static int spkrwrite(dev, uio, ioflag) - dev_t dev; + struct cdev *dev; struct uio *uio; int ioflag; { @@ -531,7 +531,7 @@ spkrwrite(dev, uio, ioflag) static int spkrclose(dev, flags, fmt, td) - dev_t dev; + struct cdev *dev; int flags; int fmt; struct thread *td; @@ -554,7 +554,7 @@ spkrclose(dev, flags, fmt, td) static int spkrioctl(dev, cmd, cmdarg, flags, td) - dev_t dev; + struct cdev *dev; unsigned long cmd; caddr_t cmdarg; int flags; @@ -610,7 +610,7 @@ static struct isa_pnp_id speaker_ids[] = { { 0 } }; -static dev_t speaker_dev; +static struct cdev *speaker_dev; static int speaker_probe(device_t dev) |