summaryrefslogtreecommitdiff
path: root/sys/dev/io
diff options
context:
space:
mode:
authorMarcel Moolenaar <marcel@FreeBSD.org>2010-01-11 18:10:13 +0000
committerMarcel Moolenaar <marcel@FreeBSD.org>2010-01-11 18:10:13 +0000
commit409a390c3341fb4f162cd7de1fd595a323ebbfd8 (patch)
tree834b257443dad54b930e9a553da6a313a6b0093e /sys/dev/io
parent5f5bb1d11ad3752c74a6e1db9c9d0aa3c2fd39ea (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",
};