summaryrefslogtreecommitdiffstats
path: root/drivers/i2c/busses/i2c-xiic.c
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2010-02-04 21:11:09 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2010-03-14 19:14:58 +0100
commit02ca6c407e0d43e6de5d646d26d87fc2eaa7a98b (patch)
tree91e6cdc6029c7be1d09293f9c18ed5c33b902080 /drivers/i2c/busses/i2c-xiic.c
parentAdd the platform data include for the Xilinx XPS IIC Bus Interface (diff)
downloadlinux-02ca6c407e0d43e6de5d646d26d87fc2eaa7a98b.tar.xz
linux-02ca6c407e0d43e6de5d646d26d87fc2eaa7a98b.zip
Add include to i2c-xii.c to fix build error
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>
Diffstat (limited to '')
-rw-r--r--drivers/i2c/busses/i2c-xiic.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/i2c/busses/i2c-xiic.c b/drivers/i2c/busses/i2c-xiic.c
index eece39a5a30e..f0ef8da6c554 100644
--- a/drivers/i2c/busses/i2c-xiic.c
+++ b/drivers/i2c/busses/i2c-xiic.c
@@ -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>