summaryrefslogtreecommitdiff
path: root/sys/arch/macppc
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/arch/macppc
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/arch/macppc')
-rw-r--r--sys/arch/macppc/dev/tpms.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/macppc/dev/tpms.c b/sys/arch/macppc/dev/tpms.c
index 26afbb71811..7a5cd7354e3 100644
--- a/sys/arch/macppc/dev/tpms.c
+++ b/sys/arch/macppc/dev/tpms.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tpms.c,v 1.9 2007/06/05 23:21:06 mbalmer Exp $ */
+/* $OpenBSD: tpms.c,v 1.10 2007/06/11 16:30:31 mbalmer Exp $ */
/*
* Copyright (c) 2005, Johan Wallén
@@ -274,7 +274,7 @@ struct tpms_softc {
void tpms_intr(struct uhidev *, void *, unsigned int);
int tpms_enable(void *);
void tpms_disable(void *);
-int tpms_ioctl(void *, unsigned long, caddr_t, int, usb_proc_ptr);
+int tpms_ioctl(void *, unsigned long, caddr_t, int, struct proc *);
void reorder_sample(signed char *, signed char *);
int compute_delta(struct tpms_softc *, int *, int *, int *, uint32_t *);
int detect_pos(int *, int, int, int, int *, int *);
@@ -444,7 +444,7 @@ tpms_disable(void *v)
}
int
-tpms_ioctl(void *v, unsigned long cmd, caddr_t data, int flag, usb_proc_ptr p)
+tpms_ioctl(void *v, unsigned long cmd, caddr_t data, int flag, struct proc *p)
{
switch (cmd) {
case WSMOUSEIO_GTYPE: