]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
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 50147f84741cbef6f23a3828711a2c2a8116a073..9c6d4d24f88964ee3a80d02c2ff1f50e3b4c487a 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"