diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2005-03-30 14:40:48 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2005-03-30 14:40:48 +0000 |
commit | b0b4d8604af32d5aa7ca8723ab246354704e2212 (patch) | |
tree | d48d29d4dce08dcdf622415a02fe64f8aa55386f /sys | |
parent | 8887acff246fd9c44af093d31c0643b73d4b2184 (diff) |
use the local powerhook, not the generic ohci one. suspend/resume now works
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/arm/xscale/pxa2x0_ohci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/arm/xscale/pxa2x0_ohci.c b/sys/arch/arm/xscale/pxa2x0_ohci.c index 03f6bce7e78..2dcbccf6d1d 100644 --- a/sys/arch/arm/xscale/pxa2x0_ohci.c +++ b/sys/arch/arm/xscale/pxa2x0_ohci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pxa2x0_ohci.c,v 1.15 2005/03/30 14:24:39 dlg Exp $ */ +/* $OpenBSD: pxa2x0_ohci.c,v 1.16 2005/03/30 14:40:47 dlg Exp $ */ /* * Copyright (c) 2005 David Gwynne <dlg@openbsd.org> @@ -106,7 +106,7 @@ pxaohci_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(pxaohci_power, &sc->sc); sc->sc_ih = pxa2x0_intr_establish(PXA2X0_INT_USBH1, IPL_USB, ohci_intr, sc, sc->sc.sc_bus.bdev.dv_xname); |