video: mb862xx: udelay need linux/delay.h
authorStephen Rothwell <sfr@canb.auug.org.au>
Thu, 26 May 2011 01:09:10 +0000 (11:09 +1000)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 26 May 2011 02:04:15 +0000 (19:04 -0700)
Fix 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").

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/mb862xx/mb862xx-i2c.c

index cb77d3b4657d92882edd31c42389ccb8864713ad..b953099edd8eb491850fdd4ca65e6c9b3789cd39 100644 (file)
@@ -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"