diff options
author | Masao Uebayashi <uebayasi@cvs.openbsd.org> | 2015-02-12 05:11:58 +0000 |
---|---|---|
committer | Masao Uebayashi <uebayasi@cvs.openbsd.org> | 2015-02-12 05:11:58 +0000 |
commit | c1c37a94d0335ef56c1f3ba1e1fcfb1aa7987081 (patch) | |
tree | 42e47cd77ea9186c5490fd31b4d1467e84360c53 /sys/dev/usb | |
parent | 53e376fb2720471ac3fb53248b8ec801c12deba2 (diff) |
Simplify debug ifdefs.
Diffstat (limited to 'sys/dev/usb')
-rw-r--r-- | sys/dev/usb/dwc2/dwc2_hcd.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/dwc2/dwc2_hcd.h b/sys/dev/usb/dwc2/dwc2_hcd.h index edc8603c3b5..3e16564a1d6 100644 --- a/sys/dev/usb/dwc2/dwc2_hcd.h +++ b/sys/dev/usb/dwc2/dwc2_hcd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: dwc2_hcd.h,v 1.7 2015/02/10 23:43:46 uebayasi Exp $ */ +/* $OpenBSD: dwc2_hcd.h,v 1.8 2015/02/12 05:11:57 uebayasi Exp $ */ /* $NetBSD: dwc2_hcd.h,v 1.9 2014/09/03 10:00:08 skrll Exp $ */ /* @@ -508,7 +508,7 @@ extern void dwc2_hcd_qh_free_ddma(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh); ((_qh_ptr_)->ep_type == USB_ENDPOINT_XFER_BULK || \ (_qh_ptr_)->ep_type == USB_ENDPOINT_XFER_CONTROL) -#ifdef CONFIG_USB_DWC2_DEBUG_PERIODIC +#ifdef DWC2_DEBUG static inline bool dbg_hc(struct dwc2_host_chan *hc) { return true; } static inline bool dbg_qh(struct dwc2_qh *qh) { return true; } static inline bool dbg_perio(void) { return true; } |