summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/uipaq.c
diff options
context:
space:
mode:
authormbalmer <mbalmer@openbsd.org>2007-06-12 16:26:36 +0000
committermbalmer <mbalmer@openbsd.org>2007-06-12 16:26:36 +0000
commit7303018685d384bf9e330b12e17cfdd5cc1c71a0 (patch)
tree2547bb103eeef13d863f7a5f64ec2bde15854332 /sys/dev/usb/uipaq.c
parentzap some dead AF_NS bits; ok henning (diff)
downloadwireguard-openbsd-7303018685d384bf9e330b12e17cfdd5cc1c71a0.tar.xz
wireguard-openbsd-7303018685d384bf9e330b12e17cfdd5cc1c71a0.zip
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/uipaq.c')
-rw-r--r--sys/dev/usb/uipaq.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/usb/uipaq.c b/sys/dev/usb/uipaq.c
index 7128403d63d..44148cbb710 100644
--- a/sys/dev/usb/uipaq.c
+++ b/sys/dev/usb/uipaq.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uipaq.c,v 1.9 2007/06/10 14:49:01 mbalmer Exp $ */
+/* $OpenBSD: uipaq.c,v 1.10 2007/06/12 16:26:36 mbalmer Exp $ */
/*
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -85,7 +85,7 @@ struct uipaq_softc {
usbd_device_handle sc_udev; /* device */
usbd_interface_handle sc_iface; /* interface */
- device_ptr_t sc_subdev; /* ucom uses that */
+ struct device * sc_subdev; /* ucom uses that */
u_int16_t sc_lcr; /* state for DTR/RTS */
u_int16_t sc_flags;
@@ -353,7 +353,7 @@ uipaq_set(void *addr, int portno, int reg, int onoff)
int
-uipaq_activate(device_ptr_t self, enum devact act)
+uipaq_activate(struct device *self, enum devact act)
{
struct uipaq_softc *sc = (struct uipaq_softc *)self;
int rv = 0;
@@ -372,7 +372,7 @@ uipaq_activate(device_ptr_t self, enum devact act)
}
int
-uipaq_detach(device_ptr_t self, int flags)
+uipaq_detach(struct device *self, int flags)
{
struct uipaq_softc *sc = (struct uipaq_softc *)self;
int rv = 0;