diff options
author | jhb <jhb@FreeBSD.org> | 2015-01-06 15:41:23 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2015-01-06 15:41:23 +0000 |
commit | 0c58376e125baa7c428c39068f2e0cd2f844515c (patch) | |
tree | 11e747725d42e3e600c2a9d7bd190487521c27de /sys/dev | |
parent | fb1ce161667f12c7ba649bbcf23a945874398891 (diff) | |
download | FreeBSD-src-0c58376e125baa7c428c39068f2e0cd2f844515c.zip FreeBSD-src-0c58376e125baa7c428c39068f2e0cd2f844515c.tar.gz |
Use struct thread directly instead of d_thread_t. This driver is not
likely to be backported to 4.x.
Reviewed by: kadesai
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/mrsas/mrsas.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/dev/mrsas/mrsas.c b/sys/dev/mrsas/mrsas.c index 9c1caa0..1fa94f1 100644 --- a/sys/dev/mrsas/mrsas.c +++ b/sys/dev/mrsas/mrsas.c @@ -204,7 +204,7 @@ MALLOC_DEFINE(M_MRSAS, "mrsasbuf", "Buffers for the MRSAS driver"); * routine when we create the /dev entry. */ int -mrsas_open(struct cdev *dev, int oflags, int devtype, d_thread_t *td) +mrsas_open(struct cdev *dev, int oflags, int devtype, struct thread *td) { struct mrsas_softc *sc; @@ -213,7 +213,7 @@ mrsas_open(struct cdev *dev, int oflags, int devtype, d_thread_t *td) } int -mrsas_close(struct cdev *dev, int fflag, int devtype, d_thread_t *td) +mrsas_close(struct cdev *dev, int fflag, int devtype, struct thread *td) { struct mrsas_softc *sc; @@ -1238,7 +1238,8 @@ mrsas_resume(device_t dev) * appropriate function for processing depending on the command received. */ static int -mrsas_ioctl(struct cdev *dev, u_long cmd, caddr_t arg, int flag, d_thread_t *td) +mrsas_ioctl(struct cdev *dev, u_long cmd, caddr_t arg, int flag, + struct thread *td) { struct mrsas_softc *sc; int ret = 0, i = 0; |