summaryrefslogtreecommitdiff
path: root/sys/dev/usb/uark.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/uark.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/uark.c')
-rw-r--r--sys/dev/usb/uark.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/usb/uark.c b/sys/dev/usb/uark.c
index cde4c84d2f4..693d1860f82 100644
--- a/sys/dev/usb/uark.c
+++ b/sys/dev/usb/uark.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uark.c,v 1.7 2007/06/10 14:49:00 mbalmer Exp $ */
+/* $OpenBSD: uark.c,v 1.8 2007/06/12 16:26:36 mbalmer Exp $ */
/*
* Copyright (c) 2006 Jonathan Gray <jsg@openbsd.org>
@@ -63,7 +63,7 @@ struct uark_softc {
struct device sc_dev;
usbd_device_handle sc_udev;
usbd_interface_handle sc_iface;
- device_ptr_t sc_subdev;
+ struct device * sc_subdev;
u_char sc_msr;
u_char sc_lsr;
@@ -203,7 +203,7 @@ uark_detach(struct device *self, int flags)
}
int
-uark_activate(device_ptr_t self, enum devact act)
+uark_activate(struct device *self, enum devact act)
{
struct uark_softc *sc = (struct uark_softc *)self;
int rv = 0;