From f7ca860df7f1885c406f037424f50f6dab47bb53 Mon Sep 17 00:00:00 2001
From: Marc Balmer <mbalmer@cvs.openbsd.org>
Date: Tue, 12 Jun 2007 16:26:38 +0000
Subject: Remove the definition and use of the device_ptr_t which was a struct
 device *.

No binary change.

ok mk.
---
 sys/dev/usb/ohcivar.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'sys/dev/usb/ohcivar.h')

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 *);
-- 
cgit v1.2.3