]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
staging: winbond: needs <linux/delay.h> for msleep and friends
authorJeff Mahoney <jeffm@suse.com>
Thu, 24 Feb 2011 19:49:00 +0000 (14:49 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 23 Mar 2011 19:50:16 +0000 (12:50 -0700)
commit cecf826df8648c843ea8db63b1f82c154a74db36 upstream.

linux/delay.h is pulled in somehow on x86 but not on ia64 or powerpc.

This fixes a build failure on those arches since they use [mu]delay.

Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/winbond/core.h

index 2b87a0007319514fab692a40bb420dacd5ab3098..7f06e2621688d252d9bb760cb293d50dba071548 100644 (file)
@@ -3,6 +3,7 @@
 
 #include <linux/wireless.h>
 #include <linux/types.h>
+#include <linux/delay.h>
 
 #include "wbhal_s.h"
 #include "mto.h"