* fix missing udelay include in mb862xx-i2c
@ 2011-05-26 0:06 Dave Jones
2011-05-26 0:10 ` Randy Dunlap
0 siblings, 1 reply; 2+ messages in thread
From: Dave Jones @ 2011-05-26 0:06 UTC (permalink / raw)
To: Linux Kernel; +Cc: Anatolij Gustschin
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"
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: fix missing udelay include in mb862xx-i2c
2011-05-26 0:06 fix missing udelay include in mb862xx-i2c Dave Jones
@ 2011-05-26 0:10 ` Randy Dunlap
0 siblings, 0 replies; 2+ messages in thread
From: Randy Dunlap @ 2011-05-26 0:10 UTC (permalink / raw)
To: Dave Jones, akpm; +Cc: Linux Kernel, Anatolij Gustschin
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 ***
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-05-26 0:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-26 0:06 fix missing udelay include in mb862xx-i2c Dave Jones
2011-05-26 0:10 ` Randy Dunlap
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.