summaryrefslogtreecommitdiff
path: root/sys/dev/usb/urio.c
diff options
context:
space:
mode:
authorMarc Balmer <mbalmer@cvs.openbsd.org>2007-06-11 16:30:32 +0000
committerMarc Balmer <mbalmer@cvs.openbsd.org>2007-06-11 16:30:32 +0000
commitf3bdb4c79dfa8e8b3fcffbba0bd2a66deebd5f50 (patch)
tree52505d692be27f64c341ea43630236d698503ff2 /sys/dev/usb/urio.c
parent297cbd0761cc279ca01eac525d9e8289d5eb9603 (diff)
Remove the usb_proc_ptr type definition, which was really a 'struct proc *'
only. No binary change. ok mk.
Diffstat (limited to 'sys/dev/usb/urio.c')
-rw-r--r--sys/dev/usb/urio.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/usb/urio.c b/sys/dev/usb/urio.c
index 21117ac6501..32e6460d5fa 100644
--- a/sys/dev/usb/urio.c
+++ b/sys/dev/usb/urio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: urio.c,v 1.29 2007/06/11 12:36:52 mbalmer Exp $ */
+/* $OpenBSD: urio.c,v 1.30 2007/06/11 16:30:31 mbalmer Exp $ */
/* $NetBSD: urio.c,v 1.15 2002/10/23 09:14:02 jdolecek Exp $ */
/*
@@ -247,7 +247,7 @@ urio_activate(device_ptr_t self, enum devact act)
}
int
-urioopen(dev_t dev, int flag, int mode, usb_proc_ptr p)
+urioopen(dev_t dev, int flag, int mode, struct proc *p)
{
struct urio_softc *sc;
usbd_status err;
@@ -284,7 +284,7 @@ urioopen(dev_t dev, int flag, int mode, usb_proc_ptr p)
}
int
-urioclose(dev_t dev, int flag, int mode, usb_proc_ptr p)
+urioclose(dev_t dev, int flag, int mode, struct proc *p)
{
struct urio_softc *sc;
sc = urio_cd.cd_devs[URIOUNIT(dev)];
@@ -426,7 +426,7 @@ uriowrite(dev_t dev, struct uio *uio, int flag)
int
-urioioctl(dev_t dev, u_long cmd, caddr_t addr, int flag, usb_proc_ptr p)
+urioioctl(dev_t dev, u_long cmd, caddr_t addr, int flag, struct proc *p)
{
struct urio_softc * sc;
int unit = URIOUNIT(dev);
@@ -521,7 +521,7 @@ ret:
}
int
-uriopoll(dev_t dev, int events, usb_proc_ptr p)
+uriopoll(dev_t dev, int events, struct proc *p)
{
return (0);
}