summaryrefslogtreecommitdiff
path: root/sys/dev/cardbus/ohci_cardbus.c
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/dev/cardbus/ohci_cardbus.c
parent0dc5c529ac587885468d2b11474fa9705127d678 (diff)
Change powerhooks into activate functions, and provide stub powerhook
functions ok kettenis
Diffstat (limited to 'sys/dev/cardbus/ohci_cardbus.c')
-rw-r--r--sys/dev/cardbus/ohci_cardbus.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/cardbus/ohci_cardbus.c b/sys/dev/cardbus/ohci_cardbus.c
index d5274cd52e8..3aec5eb7b9c 100644
--- a/sys/dev/cardbus/ohci_cardbus.c
+++ b/sys/dev/cardbus/ohci_cardbus.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ohci_cardbus.c,v 1.15 2010/03/27 21:40:13 jsg Exp $ */
+/* $OpenBSD: ohci_cardbus.c,v 1.16 2010/08/30 21:30:14 deraadt Exp $ */
/* $NetBSD: ohci_cardbus.c,v 1.19 2004/08/02 19:14:28 mycroft Exp $ */
/*
@@ -167,7 +167,7 @@ ohci_cardbus_attach(struct device *parent, struct device *self, void *aux)
return;
}
- sc->sc.sc_powerhook = powerhook_establish(ohci_power, &sc->sc);
+ sc->sc.sc_powerhook = powerhook_establish(ohci_powerhook, &sc->sc);
/* Attach usb device. */
sc->sc.sc_child = config_found((void *)sc, &sc->sc.sc_bus,