The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* 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

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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox