diff options
| author | Scott Long <scottl@FreeBSD.org> | 2007-04-15 08:49:19 +0000 |
|---|---|---|
| committer | Scott Long <scottl@FreeBSD.org> | 2007-04-15 08:49:19 +0000 |
| commit | 2b83592fdcb9e7c201677f3605b9e8738a6b0737 (patch) | |
| tree | 010146772b36d16e6f98671b4bed7ce094acd633 /sys/dev/ppbus | |
| parent | 4f450d951a7b14cda1b359646ec580a82b4f012e (diff) | |
Notes
Diffstat (limited to 'sys/dev/ppbus')
| -rw-r--r-- | sys/dev/ppbus/vpo.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/ppbus/vpo.c b/sys/dev/ppbus/vpo.c index abb2ef896d49d..c9510b2810646 100644 --- a/sys/dev/ppbus/vpo.c +++ b/sys/dev/ppbus/vpo.c @@ -32,6 +32,8 @@ __FBSDID("$FreeBSD$"); #include <sys/systm.h> #include <sys/module.h> #include <sys/bus.h> +#include <sys/lock.h> +#include <sys/mutex.h> #include <sys/malloc.h> #include <cam/cam.h> @@ -160,7 +162,7 @@ vpo_attach(device_t dev) return (ENXIO); vpo->sim = cam_sim_alloc(vpo_action, vpo_poll, "vpo", vpo, - device_get_unit(dev), + device_get_unit(dev), &Giant, /*untagged*/1, /*tagged*/0, devq); if (vpo->sim == NULL) { cam_simq_free(devq); |
