summaryrefslogtreecommitdiff
path: root/sys/arch/loongson
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2010-08-30 21:30:18 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2010-08-30 21:30:18 +0000
commit8c5ca15652aa15c819bc19f9dfa8d692b19f2da2 (patch)
treee4687b2332b1b11d2e0a5324bb53618944e070d8 /sys/arch/loongson
parent0dc5c529ac587885468d2b11474fa9705127d678 (diff)
Change powerhooks into activate functions, and provide stub powerhook
functions ok kettenis
Diffstat (limited to 'sys/arch/loongson')
-rw-r--r--sys/arch/loongson/dev/ohci_voyager.c4
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 ca37ca57503..9bac45f83cd 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.1 2010/02/26 14:53:11 miod Exp $ */
+/* $OpenBSD: ohci_voyager.c,v 1.2 2010/08/30 21:30:17 deraadt 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 $ */
@@ -176,7 +176,7 @@ ohci_voyager_attach_deferred(struct device *self)
return;
}
- sc->sc.sc_powerhook = powerhook_establish(ohci_power, &sc->sc);
+ sc->sc.sc_powerhook = powerhook_establish(ohci_powerhook, &sc->sc);
if (sc->sc.sc_powerhook == NULL)
printf("%s: unable to establish powerhook\n",
sc->sc.sc_bus.bdev.dv_xname);