Subject: Re: [PATCH -next] staging: fix winbond build, needs delay.h

From: Greg KH <[email-masked]>
Date: Fri, 19 Nov 2010 09:38:31 -0800

On Fri, Nov 19, 2010 at 09:30:18AM -0800, Randy Dunlap wrote:
> From: Randy Dunlap <[email-masked]>
> 
> winbond drivers use msleep() and delay(), so include linux/delay.h
> in a common header file to prevent build errors.
> 
> drivers/staging/winbond/phy_calibration.c:987: error: implicit declaration of function 'msleep'
> drivers/staging/winbond/phy_calibration.c:1556: error: implicit declaration of function 'udelay'
> drivers/staging/winbond/reg.c:894: error: implicit declaration of function 'msleep'
> drivers/staging/winbond/reg.c:1178: error: implicit declaration of function 'udelay'

Is this error showing up in Linus's tree, or only in linux-next?

thanks,

greg k-h