Subject: linux-next: build failure in Linus' tree

From: Stephen Rothwell <[email-masked]>
Date: Thu, 26 May 2011 11:12:51 +1000

Hi all,

With Linus' tree, today's linux-next build (x86_64 allmodconfig) failed
like this:

drivers/video/mb862xx/mb862xx-i2c.c: In function 'mb862xx_i2c_wait_event':
drivers/video/mb862xx/mb862xx-i2c.c:25: error: implicit declaration of function 'udelay'

Caused by commit f8a6b1f44833 ("video: mb862xx: add support for
controller's I2C bus adapter").

See Rule 1 in Documentation/SubmitChecklist.

I have applied the following patch for today:

From: Stephen Rothwell <[email-masked]>
Date: Thu, 26 May 2011 11:09:10 +1000
Subject: [PATCH] video: mb862xx: udelay need linux/delay.h

Signed-off-by: Stephen Rothwell <[email-masked]>
---
 drivers/video/mb862xx/mb862xx-i2c.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/video/mb862xx/mb862xx-i2c.c b/drivers/video/mb862xx/mb862xx-i2c.c
index cb77d3b..b953099 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 <linux/delay.h>
 
 #include "mb862xxfb.h"
 #include "mb862xx_reg.h"
-- 
1.7.5.1

-- 
Cheers,
Stephen Rothwell                    [email-masked]
http://www.canb.auug.org.au/~sfr/