summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/uhub.c
diff options
context:
space:
mode:
authorn_hibma <n_hibma@FreeBSD.org>1999-01-10 18:42:54 +0000
committern_hibma <n_hibma@FreeBSD.org>1999-01-10 18:42:54 +0000
commit910aa44d3b83a9b8499aa367bb1117572d1390d6 (patch)
tree8a044a96be7b26512d809593ab4478a2285e6ae4 /sys/dev/usb/uhub.c
parent2850284f098bcd5c582370a3b4b97dbba890d7bf (diff)
downloadFreeBSD-src-910aa44d3b83a9b8499aa367bb1117572d1390d6.zip
FreeBSD-src-910aa44d3b83a9b8499aa367bb1117572d1390d6.tar.gz
Sync with NetBSD sources. Almost there. Mostly style fixes.
Diffstat (limited to 'sys/dev/usb/uhub.c')
-rw-r--r--sys/dev/usb/uhub.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/dev/usb/uhub.c b/sys/dev/usb/uhub.c
index 8a44380..40b2a84 100644
--- a/sys/dev/usb/uhub.c
+++ b/sys/dev/usb/uhub.c
@@ -1,5 +1,5 @@
-/* $NetBSD: uhub.c,v 1.13 1998/12/30 18:06:25 augustss Exp $ */
-/* FreeBSD $Id$ */
+/* $NetBSD: uhub.c,v 1.14 1999/01/08 11:58:25 augustss Exp $ */
+/* FreeBSD $Id: uhub.c,v 1.5 1999/01/07 23:31:34 n_hibma Exp $ */
/*
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -477,7 +477,9 @@ uhub_disconnect(up)
up->device = 0;
/* XXX free */
#if defined(__FreeBSD__)
- device_delete_child(device_get_parent(((struct softc *)dev->softc)->sc_dev), ((struct softc *)dev->softc)->sc_dev);
+ device_delete_child(
+ device_get_parent(((struct softc *)dev->softc)->sc_dev),
+ ((struct softc *)dev->softc)->sc_dev);
#endif
}
OpenPOWER on IntegriCloud