Re: fix missing udelay include in mb862xx-i2c

From: Randy Dunlap
Date: Wed May 25 2011 - 20:10:42 EST


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@xxxxxxxxxx>
>
> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/