• Andrew Morton's avatar
    [PATCH] USB: fix ohci-hcd build error · e243c0fe
    Andrew Morton authored
    "Matt H." <lkml@lpbproductions.com> 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...
    e243c0fe
ohci-hub.c 14.4 KB