diff options
author | Marc Balmer <mbalmer@cvs.openbsd.org> | 2007-06-14 06:55:11 +0000 |
---|---|---|
committer | Marc Balmer <mbalmer@cvs.openbsd.org> | 2007-06-14 06:55:11 +0000 |
commit | 81d37f5acb8dbeb4c69b8539353acc64e604fb9f (patch) | |
tree | 6ce0f020fdf0e6b52cf52b38a9d2f6e243eb3be4 /sys/dev/usb/umass.c | |
parent | 1c26a103229becc335544f22e5af5c2dcb668e8a (diff) |
Move the inclusion of sys/timeout.h from usb_port.h to the drivers that
need it.
If a USB driver uses timeout(9) functions, the header file sys/timeout.h
must be included.
Tested by me (i386, macppc, sparc64), ckuethe (amd64), & todd (sparc, zaurus).
ok dlg.
Diffstat (limited to 'sys/dev/usb/umass.c')
-rw-r--r-- | sys/dev/usb/umass.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/usb/umass.c b/sys/dev/usb/umass.c index da2c83f13e0..c0ba552e5c6 100644 --- a/sys/dev/usb/umass.c +++ b/sys/dev/usb/umass.c @@ -1,4 +1,4 @@ -/* $OpenBSD: umass.c,v 1.50 2007/06/13 10:33:52 mbalmer Exp $ */ +/* $OpenBSD: umass.c,v 1.51 2007/06/14 06:55:10 mbalmer Exp $ */ /* $NetBSD: umass.c,v 1.116 2004/06/30 05:53:46 mycroft Exp $ */ /* @@ -140,6 +140,7 @@ #include <sys/buf.h> #include <sys/device.h> #include <sys/malloc.h> +#include <sys/timeout.h> #undef KASSERT #define KASSERT(cond, msg) #include <machine/bus.h> |