diff options
Diffstat (limited to 'sys/dev/usb/urio.c')
| -rw-r--r-- | sys/dev/usb/urio.c | 33 |
1 files changed, 6 insertions, 27 deletions
diff --git a/sys/dev/usb/urio.c b/sys/dev/usb/urio.c index 8a1d2fff33b4..b1a28a6c5379 100644 --- a/sys/dev/usb/urio.c +++ b/sys/dev/usb/urio.c @@ -292,11 +292,7 @@ USB_ATTACH(urio) int -urioopen(dev, flag, mode, p) - dev_t dev; - int flag; - int mode; - usb_proc_ptr p; +urioopen(dev_t dev, int flag, int mode, usb_proc_ptr p) { #if (USBDI >= 1) struct urio_softc * sc; @@ -336,11 +332,7 @@ urioopen(dev, flag, mode, p) } int -urioclose(dev, flag, mode, p) - dev_t dev; - int flag; - int mode; - usb_proc_ptr p; +urioclose(dev_t dev, int flag, int mode, usb_proc_ptr p) { #if (USBDI >= 1) struct urio_softc * sc; @@ -363,10 +355,7 @@ urioclose(dev, flag, mode, p) } int -urioread(dev, uio, flag) - dev_t dev; - struct uio *uio; - int flag; +urioread(dev_t dev, struct uio *uio, int flag) { #if (USBDI >= 1) struct urio_softc * sc; @@ -440,10 +429,7 @@ urioread(dev, uio, flag) } int -uriowrite(dev, uio, flag) - dev_t dev; - struct uio *uio; - int flag; +uriowrite(dev_t dev, struct uio *uio, int flag) { #if (USBDI >= 1) struct urio_softc * sc; @@ -510,12 +496,7 @@ uriowrite(dev, uio, flag) int -urioioctl(dev, cmd, addr, flag, p) - dev_t dev; - u_long cmd; - caddr_t addr; - int flag; - usb_proc_ptr p; +urioioctl(dev_t dev, u_long cmd, caddr_t addr, int flag, usb_proc_ptr p) { #if (USBDI >= 1) struct urio_softc * sc; @@ -616,9 +597,7 @@ ret: #if defined(__NetBSD__) || defined(__OpenBSD__) int -urio_activate(self, act) - device_ptr_t self; - enum devact act; +urio_activate(device_ptr_t self, enum devact act) { struct urio_softc *sc = (struct urio_softc *)self; |
