Re: 2.6.6-mm2

From: Andrew Morton
Date: Thu May 13 2004 - 13:26:11 EST


"Matt H." <lkml@xxxxxxxxxxxxxxxxxx> wrote:
>
> Just attempted to compile 2.6.6-mm2 and got this error
>
> CC [M] drivers/usb/core/driverfs.o
> CC [M] drivers/usb/core/hcd-pci.o
> LD [M] drivers/usb/core/usbcore.o
> LD drivers/usb/host/built-in.o
> CC [M] drivers/usb/host/ehci-hcd.o
> CC [M] drivers/usb/host/ohci-hcd.o
> In file included from drivers/usb/host/ohci-hcd.c:129:
> drivers/usb/host/ohci-hub.c: In function `ohci_rh_resume':
> drivers/usb/host/ohci-hub.c:313: error: `hcd' undeclared (first use in this
> function)

hm, not sure what's happened there...




---

25-akpm/drivers/usb/host/ohci-hub.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)

diff -puN drivers/usb/host/ohci-hub.c~ohci-hub-build-fix drivers/usb/host/ohci-hub.c
--- 25/drivers/usb/host/ohci-hub.c~ohci-hub-build-fix 2004-05-13 11:23:48.588645576 -0700
+++ 25-akpm/drivers/usb/host/ohci-hub.c 2004-05-13 11:23:56.972371056 -0700
@@ -310,7 +310,7 @@ static void ohci_rh_resume (void *_hcd)

static void ohci_rh_resume (void *_hcd)
{
- struct ohci_hcd *ohci = hcd_to_ohci (hcd);
+ struct ohci_hcd *ohci = hcd_to_ohci (_hcd);
ohci_dbg(ohci, "rh_resume ??\n");
}


_

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/