Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/macppc/dev Fix build by correcting pbms_ioctl's pro...



details:   https://anonhg.NetBSD.org/src/rev/1fc94271db4b
branches:  trunk
changeset: 588067:1fc94271db4b
user:      jmmv <jmmv%NetBSD.org@localhost>
date:      Mon Feb 06 20:13:25 2006 +0000

description:
Fix build by correcting pbms_ioctl's prototype.

diffstat:

 sys/arch/macppc/dev/pbms.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 84c3eb81f30b -r 1fc94271db4b sys/arch/macppc/dev/pbms.c
--- a/sys/arch/macppc/dev/pbms.c        Mon Feb 06 19:23:17 2006 +0000
+++ b/sys/arch/macppc/dev/pbms.c        Mon Feb 06 20:13:25 2006 +0000
@@ -1,4 +1,4 @@
-/* $Id: pbms.c,v 1.2 2006/02/05 18:38:35 xtraeme Exp $ */
+/* $Id: pbms.c,v 1.3 2006/02/06 20:13:25 jmmv Exp $ */
 
 /*
  * Copyright (c) 2005, Johan Wallén
@@ -288,7 +288,7 @@
 static void pbms_intr(struct uhidev *, void *, unsigned int);
 static int pbms_enable(void *);
 static void pbms_disable(void *);
-static int pbms_ioctl(void *, unsigned long, caddr_t, int, usb_proc_ptr);
+static int pbms_ioctl(void *, unsigned long, caddr_t, int, struct lwp *);
 static void reorder_sample(signed char *, signed char *);
 static int compute_delta(struct pbms_softc *, int *, int *, int *, uint32_t *);
 static int detect_pos(int *, int, int, int, int *, int *);
@@ -462,7 +462,7 @@
 /* XXX ioctl not implemented. */
 
 static int
-pbms_ioctl(void *v, unsigned long cmd, caddr_t data, int flag, usb_proc_ptr p)
+pbms_ioctl(void *v, unsigned long cmd, caddr_t data, int flag, struct lwp *p)
 {
        return EPASSTHROUGH;
 }



Home | Main Index | Thread Index | Old Index