aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/io
diff options
context:
space:
mode:
authorMarcel Moolenaar <marcel@FreeBSD.org>2010-01-22 03:50:43 +0000
committerMarcel Moolenaar <marcel@FreeBSD.org>2010-01-22 03:50:43 +0000
commit4b5ab111138e1aade234dffa8fc06f076424bc50 (patch)
tree15a4f8a972b33a8637d5abdb052e172d0a95516a /sys/dev/io
parent49cc13441b0f01b031ce131443f8416eb979e766 (diff)
Notes
Diffstat (limited to 'sys/dev/io')
-rw-r--r--sys/dev/io/iodev.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/io/iodev.c b/sys/dev/io/iodev.c
index 8c2cebdf364a..b142a39c6107 100644
--- a/sys/dev/io/iodev.c
+++ b/sys/dev/io/iodev.c
@@ -41,8 +41,6 @@ __FBSDID("$FreeBSD$");
#include <sys/systm.h>
#include <sys/uio.h>
-#include <machine/specialreg.h>
-
#include <vm/vm.h>
#include <vm/pmap.h>
@@ -54,6 +52,7 @@ static struct cdevsw io_cdevsw = {
.d_version = D_VERSION,
.d_open = ioopen,
.d_close = ioclose,
+ .d_ioctl = ioioctl,
.d_name = "io",
};