diff options
author | Marc Balmer <mbalmer@cvs.openbsd.org> | 2007-06-12 16:26:38 +0000 |
---|---|---|
committer | Marc Balmer <mbalmer@cvs.openbsd.org> | 2007-06-12 16:26:38 +0000 |
commit | f7ca860df7f1885c406f037424f50f6dab47bb53 (patch) | |
tree | 518d420cb04bb62865148e876f886bdf5ea6a60e /sys/dev/usb/ohcivar.h | |
parent | 3bdcf2dd370f12fb109ab4dac4c1829674bae9cf (diff) |
Remove the definition and use of the device_ptr_t which was a struct device *.
No binary change.
ok mk.
Diffstat (limited to 'sys/dev/usb/ohcivar.h')
-rw-r--r-- | sys/dev/usb/ohcivar.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/usb/ohcivar.h b/sys/dev/usb/ohcivar.h index 9f6930deb8d..1ab29845a3e 100644 --- a/sys/dev/usb/ohcivar.h +++ b/sys/dev/usb/ohcivar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ohcivar.h,v 1.23 2007/06/10 10:15:35 mbalmer Exp $ */ +/* $OpenBSD: ohcivar.h,v 1.24 2007/06/12 16:26:36 mbalmer Exp $ */ /* $NetBSD: ohcivar.h,v 1.32 2003/02/22 05:24:17 tsutsui Exp $ */ /* $FreeBSD: src/sys/dev/usb/ohcivar.h,v 1.13 1999/11/17 22:33:41 n_hibma Exp $ */ @@ -137,7 +137,7 @@ typedef struct ohci_softc { struct timeout sc_tmo_rhsc; - device_ptr_t sc_child; + struct device *sc_child; char sc_dying; } ohci_softc_t; @@ -152,5 +152,5 @@ usbd_status ohci_handover(ohci_softc_t *); usbd_status ohci_init(ohci_softc_t *); int ohci_intr(void *); int ohci_detach(ohci_softc_t *, int); -int ohci_activate(device_ptr_t, enum devact); +int ohci_activate(struct device *, enum devact); void ohci_power(int, void *); |