diff options
| author | christos <christos@NetBSD.org> | 2007-03-04 05:59:00 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 2007-03-04 05:59:00 +0000 |
| commit | 53524e44efd7c7176da8dc8190a698b2fe184db1 (patch) | |
| tree | 68b6fb4aee85c3eb0a522cc199c3a3427938828e /sys/dev/usb/xboxcontroller.c | |
| parent | 1b20cebad5f8d3582a41d5599641a95247721732 (diff) | |
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
Diffstat (limited to 'sys/dev/usb/xboxcontroller.c')
| -rw-r--r-- | sys/dev/usb/xboxcontroller.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/usb/xboxcontroller.c b/sys/dev/usb/xboxcontroller.c index 4bf83f2b2ce..ffce1127540 100644 --- a/sys/dev/usb/xboxcontroller.c +++ b/sys/dev/usb/xboxcontroller.c @@ -1,4 +1,4 @@ -/* $NetBSD: xboxcontroller.c,v 1.3 2007/01/07 19:08:05 jmcneill Exp $ */ +/* $NetBSD: xboxcontroller.c,v 1.4 2007/03/04 06:02:50 christos Exp $ */ /*- * Copyright (c) 2007 Jared D. McNeill <jmcneill@invisible.ca> @@ -33,7 +33,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: xboxcontroller.c,v 1.3 2007/01/07 19:08:05 jmcneill Exp $"); +__KERNEL_RCSID(0, "$NetBSD: xboxcontroller.c,v 1.4 2007/03/04 06:02:50 christos Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -74,7 +74,7 @@ static void xboxcontroller_intr(usbd_xfer_handle, usbd_private_handle, usbd_status); static int xboxcontroller_wsmouse_enable(void *); -static int xboxcontroller_wsmouse_ioctl(void *, u_long, caddr_t, int, +static int xboxcontroller_wsmouse_ioctl(void *, u_long, void *, int, struct lwp *); static void xboxcontroller_wsmouse_disable(void *); @@ -319,7 +319,7 @@ xboxcontroller_wsmouse_disable(void *opaque) } static int -xboxcontroller_wsmouse_ioctl(void *opaque, u_long cmd, caddr_t data, int flag, +xboxcontroller_wsmouse_ioctl(void *opaque, u_long cmd, void *data, int flag, struct lwp *l) { |
