diff options
| author | skrll <skrll@NetBSD.org> | 2021-11-06 06:44:42 +0000 |
|---|---|---|
| committer | skrll <skrll@NetBSD.org> | 2021-11-06 06:44:42 +0000 |
| commit | 65cf8d983d6b599b78a15ec6e562b86fbaa3a974 (patch) | |
| tree | 07f5c4b3e92fa2c84af0ecb736e165de59ddcc70 /sys/dev | |
| parent | a1a3edbb5919724db9e855428bee0d30aeaeb516 (diff) | |
USB style. NFC.
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/usb/usb_subr.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/dev/usb/usb_subr.c b/sys/dev/usb/usb_subr.c index e884485567f..6cbc09ab516 100644 --- a/sys/dev/usb/usb_subr.c +++ b/sys/dev/usb/usb_subr.c @@ -1,4 +1,4 @@ -/* $NetBSD: usb_subr.c,v 1.268 2021/11/06 06:41:02 skrll Exp $ */ +/* $NetBSD: usb_subr.c,v 1.269 2021/11/06 06:44:42 skrll Exp $ */ /* $FreeBSD: src/sys/dev/usb/usb_subr.c,v 1.18 1999/11/17 22:33:47 n_hibma Exp $ */ /* @@ -32,7 +32,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: usb_subr.c,v 1.268 2021/11/06 06:41:02 skrll Exp $"); +__KERNEL_RCSID(0, "$NetBSD: usb_subr.c,v 1.269 2021/11/06 06:44:42 skrll Exp $"); #ifdef _KERNEL_OPT #include "opt_compat_netbsd.h" @@ -362,7 +362,7 @@ usbd_find_idesc(usb_config_descriptor_t *cd, int ifaceidx, int altidx) usb_endpoint_descriptor_t * usbd_find_edesc(usb_config_descriptor_t *cd, int ifaceidx, int altidx, - int endptidx) + int endptidx) { char *p = (char *)cd; char *end = p + UGETW(cd->wTotalLength); @@ -1093,7 +1093,7 @@ usbd_properties(device_t dv, struct usbd_device *dev) static usbd_status usbd_attachwholedevice(device_t parent, struct usbd_device *dev, int port, - int usegeneric) + int usegeneric) { struct usb_attach_arg uaa; usb_device_descriptor_t *dd = &dev->ud_ddesc; @@ -1141,7 +1141,7 @@ usbd_attachwholedevice(device_t parent, struct usbd_device *dev, int port, static usbd_status usbd_attachinterfaces(device_t parent, struct usbd_device *dev, - int port, const int *locators) + int port, const int *locators) { USBHIST_FUNC(); USBHIST_CALLED(usbdebug); struct usbif_attach_arg uiaa; @@ -1235,7 +1235,7 @@ usbd_attachinterfaces(device_t parent, struct usbd_device *dev, usbd_status usbd_probe_and_attach(device_t parent, struct usbd_device *dev, - int port, int addr) + int port, int addr) { USBHIST_FUNC(); USBHIST_CALLARGS(usbdebug, "trying device specific drivers", 0, 0, 0, 0); @@ -1305,7 +1305,7 @@ usbd_probe_and_attach(device_t parent, struct usbd_device *dev, */ usbd_status usbd_reattach_device(device_t parent, struct usbd_device *dev, - int port, const int *locators) + int port, const int *locators) { int i, loc; |
