fix build fail for hv_mouse indefine udelay
authorYouquan Song <youquan.song@intel.com>
Wed, 6 Apr 2011 06:35:12 +0000 (14:35 +0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 7 Apr 2011 16:41:47 +0000 (09:41 -0700)
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>
drivers/staging/hv/hv_mouse.c

index 50147f8..9c6d4d2 100644 (file)
@@ -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"