summaryrefslogtreecommitdiff
path: root/sys/dev/usb
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2006-05-31 07:27:29 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2006-05-31 07:27:29 +0000
commit196908a928b9c08d98e40da44f5115cea0d3a4b5 (patch)
treeee839ab19b7655f0a77a88e66e5abc249bdc1641 /sys/dev/usb
parentc2b7617456b60be1b8ea1627fcd21fde29975f26 (diff)
make non debug kernels compile again
Diffstat (limited to 'sys/dev/usb')
-rw-r--r--sys/dev/usb/ehci.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/usb/ehci.c b/sys/dev/usb/ehci.c
index db471168e58..809c06f6ebc 100644
--- a/sys/dev/usb/ehci.c
+++ b/sys/dev/usb/ehci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ehci.c,v 1.59 2006/05/31 06:59:56 pascoe Exp $ */
+/* $OpenBSD: ehci.c,v 1.60 2006/05/31 07:27:28 dlg Exp $ */
/* $NetBSD: ehci.c,v 1.66 2004/06/30 03:11:56 mycroft Exp $ */
/*
@@ -742,7 +742,9 @@ void
ehci_idone(struct ehci_xfer *ex)
{
usbd_xfer_handle xfer = &ex->xfer;
+#ifdef EHCI_DEBUG
struct ehci_pipe *epipe = (struct ehci_pipe *)xfer->pipe;
+#endif
ehci_soft_qtd_t *sqtd, *lsqtd;
u_int32_t status = 0, nstatus = 0;
int actlen, cerr;