summaryrefslogtreecommitdiff
path: root/sys/dev/usb/ucom.c
diff options
context:
space:
mode:
authorMarc Balmer <mbalmer@cvs.openbsd.org>2007-06-12 16:26:38 +0000
committerMarc Balmer <mbalmer@cvs.openbsd.org>2007-06-12 16:26:38 +0000
commitf7ca860df7f1885c406f037424f50f6dab47bb53 (patch)
tree518d420cb04bb62865148e876f886bdf5ea6a60e /sys/dev/usb/ucom.c
parent3bdcf2dd370f12fb109ab4dac4c1829674bae9cf (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/ucom.c')
-rw-r--r--sys/dev/usb/ucom.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/ucom.c b/sys/dev/usb/ucom.c
index 931341e535f..0c08464b700 100644
--- a/sys/dev/usb/ucom.c
+++ b/sys/dev/usb/ucom.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ucom.c,v 1.39 2007/06/11 16:30:31 mbalmer Exp $ */
+/* $OpenBSD: ucom.c,v 1.40 2007/06/12 16:26:36 mbalmer Exp $ */
/* $NetBSD: ucom.c,v 1.49 2003/01/01 00:10:25 thorpej Exp $ */
/*
@@ -258,7 +258,7 @@ ucom_detach(struct device *self, int flags)
}
int
-ucom_activate(device_ptr_t self, enum devact act)
+ucom_activate(struct device *self, enum devact act)
{
struct ucom_softc *sc = (struct ucom_softc *)self;