Module Name: src Committed By: skrll Date: Fri Apr 4 05:40:57 UTC 2014
Modified Files: src/sys/external/bsd/dwc2/dist: dwc2_coreintr.c Log Message: Fix non-DWC2_DEBUG build. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/sys/external/bsd/dwc2/dist/dwc2_coreintr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/external/bsd/dwc2/dist/dwc2_coreintr.c diff -u src/sys/external/bsd/dwc2/dist/dwc2_coreintr.c:1.7 src/sys/external/bsd/dwc2/dist/dwc2_coreintr.c:1.8 --- src/sys/external/bsd/dwc2/dist/dwc2_coreintr.c:1.7 Thu Apr 3 06:34:58 2014 +++ src/sys/external/bsd/dwc2/dist/dwc2_coreintr.c Fri Apr 4 05:40:57 2014 @@ -1,4 +1,4 @@ -/* $NetBSD: dwc2_coreintr.c,v 1.7 2014/04/03 06:34:58 skrll Exp $ */ +/* $NetBSD: dwc2_coreintr.c,v 1.8 2014/04/04 05:40:57 skrll Exp $ */ /* * core_intr.c - DesignWare HS OTG Controller common interrupt handling @@ -41,7 +41,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: dwc2_coreintr.c,v 1.7 2014/04/03 06:34:58 skrll Exp $"); +__KERNEL_RCSID(0, "$NetBSD: dwc2_coreintr.c,v 1.8 2014/04/04 05:40:57 skrll Exp $"); #include <sys/param.h> #include <sys/kernel.h> @@ -82,6 +82,7 @@ static const char *dwc2_op_state_str(str return "unknown"; } } +#endif /** * dwc2_handle_usb_port_intr - handles OTG PRTINT interrupts. @@ -102,7 +103,6 @@ static void dwc2_handle_usb_port_intr(st /* Clear interrupt */ DWC2_WRITE_4(hsotg, GINTSTS, GINTSTS_PRTINT); } -#endif /** * dwc2_handle_mode_mismatch_intr() - Logs a mode mismatch warning message