Add include to i2c-xii.c to fix build error
authorRandy Dunlap <[email protected]>
Thu, 4 Feb 2010 20:11:09 +0000 (12:11 -0800)
committerLinus Torvalds <[email protected]>
Sun, 14 Mar 2010 18:14:58 +0000 (11:14 -0700)
drivers/i2c/busses/i2c-xiic.c:493: error: implicit declaration of function 'mdelay'

Signed-off-by: Randy Dunlap <[email protected]>
Cc: "Richard Röjfors" <[email protected]>
Cc: "Ben Dooks (embedded platforms)" <[email protected]>
Cc: [email protected]
Signed-off-by: Stephen Rothwell <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
drivers/i2c/busses/i2c-xiic.c

index eece39a5a30ee819ef14cd065505a8bc5c9a8c83..f0ef8da6c554556c0e1c35ef23b655398f49b912 100644 (file)
@@ -32,6 +32,7 @@
 #include <linux/module.h>
 #include <linux/init.h>
 #include <linux/errno.h>
+#include <linux/delay.h>
 #include <linux/platform_device.h>
 #include <linux/i2c.h>
 #include <linux/interrupt.h>