summaryrefslogtreecommitdiff
path: root/sys/dev/usb/umass.c
diff options
context:
space:
mode:
authorMarc Balmer <mbalmer@cvs.openbsd.org>2007-06-14 06:55:11 +0000
committerMarc Balmer <mbalmer@cvs.openbsd.org>2007-06-14 06:55:11 +0000
commit81d37f5acb8dbeb4c69b8539353acc64e604fb9f (patch)
tree6ce0f020fdf0e6b52cf52b38a9d2f6e243eb3be4 /sys/dev/usb/umass.c
parent1c26a103229becc335544f22e5af5c2dcb668e8a (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.c3
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>