Messages in this thread |  | | | Date | Wed, 25 May 2011 17:10:36 -0700 | | From | Randy Dunlap <> | | Subject | Re: fix missing udelay include in mb862xx-i2c |
| |
On Wed, 25 May 2011 20:06:55 -0400 Dave Jones wrote:
> drivers/video/mb862xx/mb862xx-i2c.c: In function ‘mb862xx_i2c_wait_event’: > drivers/video/mb862xx/mb862xx-i2c.c:25:3: error: implicit declaration of function ‘udelay’ [-Werror=implicit-function-declaration] > cc1: some warnings being treated as errors > > Signed-off-by: Dave Jones <davej@redhat.com> > > diff --git a/drivers/video/mb862xx/mb862xx-i2c.c b/drivers/video/mb862xx/mb862xx-i2c.c > index cb77d3b..87c79ee 100644 > --- a/drivers/video/mb862xx/mb862xx-i2c.c > +++ b/drivers/video/mb862xx/mb862xx-i2c.c > @@ -12,6 +12,7 @@ > #include <linux/fb.h> > #include <linux/i2c.h> > #include <linux/io.h> > +#include <asm/delay.h> > > #include "mb862xxfb.h" > #include "mb862xx_reg.h"
<linux/delay.h>
--- ~Randy *** Remember to use Documentation/SubmitChecklist when testing your code *** -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |