]> git.baikalelectronics.ru Git - kernel.git/commitdiff
Add include to i2c-xii.c to fix build error
authorRandy Dunlap <randy.dunlap@oracle.com>
Thu, 4 Feb 2010 20:11:09 +0000 (12:11 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
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 <randy.dunlap@oracle.com>
Cc: "Richard Röjfors" <richard.rojfors@pelagicore.com>
Cc: "Ben Dooks (embedded platforms)" <ben-linux@fluff.org>
Cc: linux-i2c@vger.kernel.org
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
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>