aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/scd
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/scd
parentd420fcda27350a7e2d3d8f3b2c9de6aa74df2e30 (diff)
Notes
Diffstat (limited to 'sys/dev/scd')
-rw-r--r--sys/dev/scd/scd.c6
-rw-r--r--sys/dev/scd/scdvar.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/scd/scd.c b/sys/dev/scd/scd.c
index 2a66a00189c7..93332e2a6893 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 9eb0199df19a..773a78be1fb6 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;