From b0b4d8604af32d5aa7ca8723ab246354704e2212 Mon Sep 17 00:00:00 2001 From: David Gwynne Date: Wed, 30 Mar 2005 14:40:48 +0000 Subject: use the local powerhook, not the generic ohci one. suspend/resume now works --- sys/arch/arm/xscale/pxa2x0_ohci.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/arch/arm/xscale') 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 @@ -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); -- cgit v1.2.3