summaryrefslogtreecommitdiffstats
path: root/sys/dev/scd/scd.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/scd/scd.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/scd/scd.c')
-rw-r--r--sys/dev/scd/scd.c6
1 files changed, 3 insertions, 3 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;
OpenPOWER on IntegriCloud