diff options
author | Youquan Song <youquan.song@intel.com> | 2011-04-06 02:35:12 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-04-07 12:41:47 -0400 |
commit | 7e3bf1d3308934bc1b8ca492f473e0e22a95da7e (patch) | |
tree | 58eea9a1eb134c82ead3f65b4c13ba14e2b7e451 | |
parent | 982134ba62618c2d69fbbbd166d0a11ee3b7e3d8 (diff) |
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.c | 1 |
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 @@ | |||
23 | #include <linux/hiddev.h> | 23 | #include <linux/hiddev.h> |
24 | #include <linux/pci.h> | 24 | #include <linux/pci.h> |
25 | #include <linux/dmi.h> | 25 | #include <linux/dmi.h> |
26 | #include <linux/delay.h> | ||
26 | 27 | ||
27 | #include "hv_api.h" | 28 | #include "hv_api.h" |
28 | #include "logging.h" | 29 | #include "logging.h" |