summaryrefslogtreecommitdiff
path: root/sys/dev/usb/ums.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/ums.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/ums.c')
-rw-r--r--sys/dev/usb/ums.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/usb/ums.c b/sys/dev/usb/ums.c
index 8cc3d9ab7d3..21c8b13ad8f 100644
--- a/sys/dev/usb/ums.c
+++ b/sys/dev/usb/ums.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ums.c,v 1.22 2007/06/10 14:49:01 mbalmer Exp $ */
+/* $OpenBSD: ums.c,v 1.23 2007/06/11 16:30:31 mbalmer Exp $ */
/* $NetBSD: ums.c,v 1.60 2003/03/11 16:44:00 augustss Exp $ */
/*
@@ -116,7 +116,7 @@ void ums_intr(struct uhidev *addr, void *ibuf, u_int len);
int ums_enable(void *);
void ums_disable(void *);
-int ums_ioctl(void *, u_long, caddr_t, int, usb_proc_ptr);
+int ums_ioctl(void *, u_long, caddr_t, int, struct proc *);
const struct wsmouse_accessops ums_accessops = {
ums_enable,
@@ -372,7 +372,7 @@ ums_disable(void *v)
}
int
-ums_ioctl(void *v, u_long cmd, caddr_t data, int flag, usb_proc_ptr p)
+ums_ioctl(void *v, u_long cmd, caddr_t data, int flag, struct proc *p)
{
switch (cmd) {