summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/if_uath.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/if_uath.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/if_uath.c')
-rw-r--r--sys/dev/usb/if_uath.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/usb/if_uath.c b/sys/dev/usb/if_uath.c
index aaa6ad808c6..3ee0f7c2cef 100644
--- a/sys/dev/usb/if_uath.c
+++ b/sys/dev/usb/if_uath.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_uath.c,v 1.24 2007/06/10 14:49:00 mbalmer Exp $ */
+/* $OpenBSD: if_uath.c,v 1.25 2007/06/12 16:26:36 mbalmer Exp $ */
/*-
* Copyright (c) 2006
@@ -184,7 +184,7 @@ int uath_switch_channel(struct uath_softc *, struct ieee80211_channel *);
int uath_init(struct ifnet *);
void uath_stop(struct ifnet *, int);
int uath_loadfirmware(struct uath_softc *, const u_char *, int);
-int uath_activate(device_ptr_t, enum devact);
+int uath_activate(struct device *, enum devact);
USB_DECLARE_DRIVER(uath);
@@ -2115,7 +2115,7 @@ fail1: return error;
}
int
-uath_activate(device_ptr_t self, enum devact act)
+uath_activate(struct device *self, enum devact act)
{
switch (act) {
case DVACT_ACTIVATE: