From 8cfd43824906e21c597daa716eca0132db81f3d0 Mon Sep 17 00:00:00 2001 From: Nathan Binkert Date: Tue, 11 Jun 2002 02:59:16 +0000 Subject: use usb_proc_ptr. (From NetBSD) --- sys/dev/usb/umodem.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sys/dev/usb') diff --git a/sys/dev/usb/umodem.c b/sys/dev/usb/umodem.c index 9a7aec9aa63..f7aa0f57cc4 100644 --- a/sys/dev/usb/umodem.c +++ b/sys/dev/usb/umodem.c @@ -1,5 +1,5 @@ -/* $OpenBSD: umodem.c,v 1.9 2002/05/07 18:29:18 nate Exp $ */ -/* $NetBSD: umodem.c,v 1.40 2001/03/25 23:02:34 augustss Exp $ */ +/* $OpenBSD: umodem.c,v 1.10 2002/06/11 02:59:15 nate Exp $ */ +/* $NetBSD: umodem.c,v 1.41 2001/11/13 06:24:56 lukem Exp $ */ /* * Copyright (c) 1998 The NetBSD Foundation, Inc. @@ -137,7 +137,7 @@ Static void umodem_rts(struct umodem_softc *, int); Static void umodem_break(struct umodem_softc *, int); Static void umodem_set_line_state(struct umodem_softc *); Static int umodem_param(void *, int, struct termios *); -Static int umodem_ioctl(void *, int, u_long, caddr_t, int, struct proc *); +Static int umodem_ioctl(void *, int, u_long, caddr_t, int, usb_proc_ptr); Static int umodem_open(void *, int portno); Static void umodem_close(void *, int portno); Static void umodem_intr(usbd_xfer_handle, usbd_private_handle, usbd_status); @@ -524,7 +524,7 @@ umodem_param(void *addr, int portno, struct termios *t) int umodem_ioctl(void *addr, int portno, u_long cmd, caddr_t data, int flag, - struct proc *p) + usb_proc_ptr p) { struct umodem_softc *sc = addr; int error = 0; -- cgit v1.2.3