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/scd | |
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/scd')
-rw-r--r-- | sys/dev/scd/scd.c | 6 | ||||
-rw-r--r-- | sys/dev/scd/scdvar.h | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/scd/scd.c b/sys/dev/scd/scd.c index 2a66a00..93332e2 100644 --- a/sys/dev/scd/scd.c +++ b/sys/dev/scd/scd.c @@ -178,7 +178,7 @@ scd_attach(struct scd_softc *sc) } static int -scdopen(dev_t dev, int flags, int fmt, struct thread *td) +scdopen(struct cdev *dev, int flags, int fmt, struct thread *td) { struct scd_softc *sc; int rc; @@ -225,7 +225,7 @@ scdopen(dev_t dev, int flags, int fmt, struct thread *td) } static int -scdclose(dev_t dev, int flags, int fmt, struct thread *td) +scdclose(struct cdev *dev, int flags, int fmt, struct thread *td) { struct scd_softc *sc; @@ -327,7 +327,7 @@ scd_start(struct scd_softc *sc) } static int -scdioctl(dev_t dev, u_long cmd, caddr_t addr, int flags, struct thread *td) +scdioctl(struct cdev *dev, u_long cmd, caddr_t addr, int flags, struct thread *td) { struct scd_softc *sc; diff --git a/sys/dev/scd/scdvar.h b/sys/dev/scd/scdvar.h index 9eb0199..773a78b 100644 --- a/sys/dev/scd/scdvar.h +++ b/sys/dev/scd/scdvar.h @@ -34,7 +34,7 @@ struct scd_data { struct scd_softc { device_t dev; - dev_t scd_dev_t; + struct cdev *scd_dev_t; int debug; struct resource * port; |