summaryrefslogtreecommitdiff
path: root/sys/dev/usb/uts.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/uts.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/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;