From f7ca860df7f1885c406f037424f50f6dab47bb53 Mon Sep 17 00:00:00 2001 From: Marc Balmer 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/uhub.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev/usb/uhub.c') diff --git a/sys/dev/usb/uhub.c b/sys/dev/usb/uhub.c index 686324438f5..2d460791d9e 100644 --- a/sys/dev/usb/uhub.c +++ b/sys/dev/usb/uhub.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uhub.c,v 1.45 2007/06/10 14:49:01 mbalmer Exp $ */ +/* $OpenBSD: uhub.c,v 1.46 2007/06/12 16:26:36 mbalmer Exp $ */ /* $NetBSD: uhub.c,v 1.64 2003/02/08 03:32:51 ichiro Exp $ */ /* $FreeBSD: src/sys/dev/usb/uhub.c,v 1.18 1999/11/17 22:33:43 n_hibma Exp $ */ @@ -494,7 +494,7 @@ uhub_explore(usbd_device_handle dev) } int -uhub_activate(device_ptr_t self, enum devact act) +uhub_activate(struct device *self, enum devact act) { struct uhub_softc *sc = (struct uhub_softc *)self; struct usbd_hub *hub = sc->sc_hub->hub; -- cgit v1.2.3