]> 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 20:03:48 +0000 (13:03 -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 d7b3aca5ddebaa71ca7ac169edefc78ef1b7e5b7..6160b2fab833fe700e5478aa0a5c2f71484e0282 100644 (file)
@@ -3,6 +3,7 @@
 
 #include <linux/wireless.h>
 #include <linux/types.h>
+#include <linux/delay.h>
 
 #include "wbhal.h"
 #include "mto.h"