summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYouquan Song <youquan.song@intel.com>2011-04-06 14:35:12 +0800
committerLinus Torvalds <torvalds@linux-foundation.org>2011-04-07 09:41:47 -0700
commit7e3bf1d3308934bc1b8ca492f473e0e22a95da7e (patch)
tree58eea9a1eb134c82ead3f65b4c13ba14e2b7e451
parent982134ba62618c2d69fbbbd166d0a11ee3b7e3d8 (diff)
downloadblackbird-op-linux-7e3bf1d3308934bc1b8ca492f473e0e22a95da7e.tar.gz
blackbird-op-linux-7e3bf1d3308934bc1b8ca492f473e0e22a95da7e.zip
fix build fail for hv_mouse indefine udelay
Fix build failure issue for hv_mouse When build 2.6.39-rc1 kernel, it will be blocked at build hv_mouse. drivers/staging/hv/hv_mouse.c: In function ‘ReleaseInputDevice’: drivers/staging/hv/hv_mouse.c:293: error: implicit declaration of function ‘udelay’ Signed-off-by: Youquan Song <youquan.song@intel.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--drivers/staging/hv/hv_mouse.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/hv/hv_mouse.c b/drivers/staging/hv/hv_mouse.c
index 50147f84741c..9c6d4d24f889 100644
--- a/drivers/staging/hv/hv_mouse.c
+++ b/drivers/staging/hv/hv_mouse.c
@@ -23,6 +23,7 @@
#include <linux/hiddev.h>
#include <linux/pci.h>
#include <linux/dmi.h>
+#include <linux/delay.h>
#include "hv_api.h"
#include "logging.h"
OpenPOWER on IntegriCloud