aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2010-11-19 09:30:18 -0800
committerGreg Kroah-Hartman <gregkh@suse.de>2010-11-19 10:13:56 -0800
commit412dc7f368bf10a8049a8a4c41abbfd0108742e7 (patch)
treecbee605131091801d6530778cc10489f68d6f841 /drivers
parenta3a972a053010bfd61c13cfa4ce688d4eebd9a19 (diff)
downloadmrst-s0i3-test-412dc7f368bf10a8049a8a4c41abbfd0108742e7.tar.gz
mrst-s0i3-test-412dc7f368bf10a8049a8a4c41abbfd0108742e7.tar.xz
mrst-s0i3-test-412dc7f368bf10a8049a8a4c41abbfd0108742e7.zip
staging: fix winbond build, needs delay.h
winbond drivers use msleep() and delay(), so include linux/delay.h in a common header file to prevent build errors. drivers/staging/winbond/phy_calibration.c:987: error: implicit declaration of function 'msleep' drivers/staging/winbond/phy_calibration.c:1556: error: implicit declaration of function 'udelay' drivers/staging/winbond/reg.c:894: error: implicit declaration of function 'msleep' drivers/staging/winbond/reg.c:1178: error: implicit declaration of function 'udelay' Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/winbond/sysdef.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/staging/winbond/sysdef.h b/drivers/staging/winbond/sysdef.h
index 9195adf98e1..d0d71f69bc8 100644
--- a/drivers/staging/winbond/sysdef.h
+++ b/drivers/staging/winbond/sysdef.h
@@ -2,6 +2,9 @@
#ifndef SYS_DEF_H
#define SYS_DEF_H
+
+#include <linux/delay.h>
+
#define WB_LINUX
#define WB_LINUX_WPA_PSK