summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/usb_util.h
diff options
context:
space:
mode:
authorthompsa <thompsa@FreeBSD.org>2009-03-20 21:48:11 +0000
committerthompsa <thompsa@FreeBSD.org>2009-03-20 21:48:11 +0000
commite14295c787e7990fac7af1c1f196f279396b88a7 (patch)
tree5f5d9b7cd28551f4f3923401f6ffea491e559c3b /sys/dev/usb/usb_util.h
parent79aaac6e7b4553e4799500d20a8d63ea337b8925 (diff)
downloadFreeBSD-src-e14295c787e7990fac7af1c1f196f279396b88a7.zip
FreeBSD-src-e14295c787e7990fac7af1c1f196f279396b88a7.tar.gz
MFp4 //depot/projects/usb@159392
Add ifdefs for making parts of usb conditional. Submitted by: Hans Petter Selasky
Diffstat (limited to 'sys/dev/usb/usb_util.h')
-rw-r--r--sys/dev/usb/usb_util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/usb/usb_util.h b/sys/dev/usb/usb_util.h
index e081c31..73097f3 100644
--- a/sys/dev/usb/usb_util.h
+++ b/sys/dev/usb/usb_util.h
@@ -35,7 +35,7 @@ void usb2_pause_mtx(struct mtx *mtx, int _ticks);
void usb2_printBCD(char *p, uint16_t p_len, uint16_t bcd);
void usb2_trim_spaces(char *p);
-#if (USB_USE_CONDVAR == 0)
+#if (USB_HAVE_CONDVAR == 0)
void usb2_cv_init(struct cv *cv, const char *desc);
void usb2_cv_destroy(struct cv *cv);
void usb2_cv_wait(struct cv *cv, struct mtx *mtx);
OpenPOWER on IntegriCloud