summaryrefslogtreecommitdiff
path: root/sys/dev/usb/dwc2/dwc2_core.h
diff options
context:
space:
mode:
authorMasao Uebayashi <uebayasi@cvs.openbsd.org>2015-02-10 14:15:15 +0000
committerMasao Uebayashi <uebayasi@cvs.openbsd.org>2015-02-10 14:15:15 +0000
commit837100ce25a76447322a4c33fda32c5054f11a4e (patch)
treeb836ee1099407deaa709fc32002a00ac38c77f9c /sys/dev/usb/dwc2/dwc2_core.h
parent12ab899cb2be84e9c3cf7fa3ed0aeead790eae3f (diff)
s/device_t/struct device */
Diffstat (limited to 'sys/dev/usb/dwc2/dwc2_core.h')
-rw-r--r--sys/dev/usb/dwc2/dwc2_core.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/usb/dwc2/dwc2_core.h b/sys/dev/usb/dwc2/dwc2_core.h
index fabfd376ca2..bef355bdcbe 100644
--- a/sys/dev/usb/dwc2/dwc2_core.h
+++ b/sys/dev/usb/dwc2/dwc2_core.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: dwc2_core.h,v 1.5 2015/02/10 13:49:48 uebayasi Exp $ */
+/* $OpenBSD: dwc2_core.h,v 1.6 2015/02/10 14:15:14 uebayasi Exp $ */
/* $NetBSD: dwc2_core.h,v 1.5 2014/04/03 06:34:58 skrll Exp $ */
/*
@@ -405,7 +405,7 @@ struct dwc2_hw_params {
* @frame_list_dma: Frame list DMA address
*/
struct dwc2_hsotg {
- device_t dev;
+ struct device *dev;
struct dwc2_softc *hsotg_sc;
/** Params detected from hardware */
struct dwc2_hw_params hw_params;
@@ -418,7 +418,7 @@ struct dwc2_hsotg {
struct taskq *wq_otg;
struct task wf_otg;
- struct callout wkp_timer;
+ struct timeout wkp_timer;
enum dwc2_lx_state lx_state;
union dwc2_hcd_internal_flags {