public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH] [MM snapshot] fix undeclared hcd in ohci-sm501.c
       [not found] <419605.88113.qm@web27901.mail.ukl.yahoo.com>
@ 2008-04-15  5:29 ` Greg KH
  0 siblings, 0 replies; only message in thread
From: Greg KH @ 2008-04-15  5:29 UTC (permalink / raw)
  To: Reynes Philippe; +Cc: linux-kernel, Andrew Morton

On Tue, Apr 15, 2008 at 12:08:43AM +0200, Reynes Philippe wrote:
> The function ohci_sm501_resume in drivers/usb/host/ohci-hcd.c use the
> variable hcd, but this variable is undeclared in this function, so the compilation 
> fails with this error :
> 
>   CC      drivers/usb/host/ohci-hcd.o
> In file included from drivers/usb/host/ohci-hcd.c:1056:
> drivers/usb/host/ohci-sm501.c: In function ?ohci_sm501_resume?:
> drivers/usb/host/ohci-sm501.c:241: erreur: ?hcd? undeclared (first use in this function)
> drivers/usb/host/ohci-sm501.c:241: erreur: (Each undeclared identifier is reported only once
> drivers/usb/host/ohci-sm501.c:241: erreur: for each function it appears in.)
> make[3]: *** [drivers/usb/host/ohci-hcd.o] Erreur 1
> make[2]: *** [drivers/usb/host] Erreur 2
> make[1]: *** [drivers/usb] Erreur 2
> make: *** [drivers] Erreur 2

I just merged a patch from Alan Stern into my tree that should fix this.
Check the linux-next tree tomorrow to verify that it made it in.

thanks,

greg k-h

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-04-15 15:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <419605.88113.qm@web27901.mail.ukl.yahoo.com>
2008-04-15  5:29 ` [PATCH] [MM snapshot] fix undeclared hcd in ohci-sm501.c Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox