summaryrefslogtreecommitdiff
path: root/sys/dev/usb/uhub.c
diff options
context:
space:
mode:
authorMasao Uebayashi <uebayasi@cvs.openbsd.org>2015-02-12 05:07:53 +0000
committerMasao Uebayashi <uebayasi@cvs.openbsd.org>2015-02-12 05:07:53 +0000
commit53f4d96846f5acf849208a56c9f9bcf8ab117f29 (patch)
tree8628c6c656d8a3d52324574e11f3aad179f325e0 /sys/dev/usb/uhub.c
parent8b9e25f71a18f7f696e33998bf0b7366d5f114fe (diff)
KNF.
Diffstat (limited to 'sys/dev/usb/uhub.c')
-rw-r--r--sys/dev/usb/uhub.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/uhub.c b/sys/dev/usb/uhub.c
index 86c722c8748..83ef8a8f0be 100644
--- a/sys/dev/usb/uhub.c
+++ b/sys/dev/usb/uhub.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uhub.c,v 1.82 2015/01/02 11:58:32 mpi Exp $ */
+/* $OpenBSD: uhub.c,v 1.83 2015/02/12 05:07:52 uebayasi Exp $ */
/* $NetBSD: uhub.c,v 1.64 2003/02/08 03:32:51 ichiro Exp $ */
/* $FreeBSD: src/sys/dev/usb/uhub.c,v 1.18 1999/11/17 22:33:43 n_hibma Exp $ */
@@ -299,7 +299,7 @@ uhub_attach(struct device *parent, struct device *self, void *aux)
struct usbd_port *up = &hub->ports[p];
up->device = NULL;
up->parent = dev;
- up->portno = p+1;
+ up->portno = p + 1;
if (dev->self_powered)
/* Self powered hub, give ports maximum current. */
up->power = USB_MAX_POWER;