summaryrefslogtreecommitdiff
path: root/sys/dev/usb/umodem.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/umodem.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/umodem.c')
-rw-r--r--sys/dev/usb/umodem.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/usb/umodem.c b/sys/dev/usb/umodem.c
index fdc836953af..a6584ab855e 100644
--- a/sys/dev/usb/umodem.c
+++ b/sys/dev/usb/umodem.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: umodem.c,v 1.30 2007/06/11 16:30:31 mbalmer Exp $ */
+/* $OpenBSD: umodem.c,v 1.31 2007/06/12 16:26:36 mbalmer Exp $ */
/* $NetBSD: umodem.c,v 1.45 2002/09/23 05:51:23 simonb Exp $ */
/*
@@ -110,7 +110,7 @@ struct umodem_softc {
u_char sc_dtr; /* current DTR state */
u_char sc_rts; /* current RTS state */
- device_ptr_t sc_subdev; /* ucom device */
+ struct device * sc_subdev; /* ucom device */
u_char sc_opening; /* lock during open */
u_char sc_dying; /* disconnecting */
@@ -713,7 +713,7 @@ umodem_set_comm_feature(struct umodem_softc *sc, int feature, int state)
}
int
-umodem_activate(device_ptr_t self, enum devact act)
+umodem_activate(struct device *self, enum devact act)
{
struct umodem_softc *sc = (struct umodem_softc *)self;
int rv = 0;