diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2014-05-19 13:11:32 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2014-05-19 13:11:32 +0000 |
commit | 4bb0f99490c491ae475667192f5fec8bb1f29c1c (patch) | |
tree | 2df13a7128d4fe745f462b422d8fad5ede630aec /sys/arch/loongson | |
parent | ec4a18b5a8f379f919059d2660eefed6518d2b90 (diff) |
There is no need to remember which usb(4) device is the child of an USB
host controller because autoconf(9) already does it.
Breakage reported by todd@
Diffstat (limited to 'sys/arch/loongson')
-rw-r--r-- | sys/arch/loongson/dev/ohci_voyager.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/loongson/dev/ohci_voyager.c b/sys/arch/loongson/dev/ohci_voyager.c index 7987a6d3ab5..574506c0b2b 100644 --- a/sys/arch/loongson/dev/ohci_voyager.c +++ b/sys/arch/loongson/dev/ohci_voyager.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ohci_voyager.c,v 1.5 2013/04/16 14:55:22 deraadt Exp $ */ +/* $OpenBSD: ohci_voyager.c,v 1.6 2014/05/19 13:11:31 mpi Exp $ */ /* OpenBSD: ohci_pci.c,v 1.33 2008/06/26 05:42:17 ray Exp */ /* $NetBSD: ohci_pci.c,v 1.23 2002/10/02 16:51:47 thorpej Exp $ */ @@ -179,5 +179,5 @@ ohci_voyager_attach_deferred(struct device *self) splx(s); /* Attach usb device. */ - sc->sc.sc_child = config_found((void *)sc, &sc->sc.sc_bus, usbctlprint); + config_found(self, &sc->sc.sc_bus, usbctlprint); } |