Staging: solo: add delay.h header
authorRandy Dunlap <randy.dunlap@oracle.com>
Fri, 2 Jul 2010 23:44:13 +0000 (16:44 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 8 Jul 2010 20:57:58 +0000 (13:57 -0700)
Several solo drivers need <linux/delay.h>, so add it to the
private solo6010.h header file.

drivers/staging/solo6x10/solo6010-core.c:191: error: implicit declaration of function 'mdelay'
drivers/staging/solo6x10/solo6010-tw28.c:181: error: implicit declaration of function 'msleep_interruptible'
drivers/staging/solo6x10/solo6010-gpio.c:78: error: implicit declaration of function 'udelay'
drivers/staging/solo6x10/solo6010-v4l2-enc.c:254: error: implicit declaration of function 'mdelay'

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
drivers/staging/solo6x10/solo6010.h

index 984b19e4191d514c10162791b5215a34bf318190..dca8e3e15450c1398fd61a5eb649dad7abece7ec 100644 (file)
@@ -26,6 +26,7 @@
 #include <linux/semaphore.h>
 #include <linux/mutex.h>
 #include <linux/list.h>
+#include <linux/delay.h>
 #include <linux/wait.h>
 #include <asm/io.h>
 #include <asm/atomic.h>