summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/uts.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/uts.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/uts.c')
-rw-r--r--sys/dev/usb/uts.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/usb/uts.c b/sys/dev/usb/uts.c
index c4846692677..66eeacfd762 100644
--- a/sys/dev/usb/uts.c
+++ b/sys/dev/usb/uts.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uts.c,v 1.14 2007/06/11 01:05:43 jsg Exp $ */
+/* $OpenBSD: uts.c,v 1.15 2007/06/12 16:26:37 mbalmer Exp $ */
/*
* Copyright (c) 2007 Robert Nagy <robert@openbsd.org>
@@ -74,7 +74,7 @@ struct uts_softc {
int sc_isize;
u_int8_t sc_pkts;
- device_ptr_t sc_wsmousedev;
+ struct device * sc_wsmousedev;
int sc_enabled;
int sc_buttons;
@@ -242,7 +242,7 @@ uts_detach(struct device *self, int flags)
}
int
-uts_activate(device_ptr_t self, enum devact act)
+uts_activate(struct device *self, enum devact act)
{
struct uts_softc *sc = (struct uts_softc *)self;
int rv = 0;