Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Youquan Song and committed by
Linus Torvalds
7e3bf1d3 982134ba

+1
+1
drivers/staging/hv/hv_mouse.c
··· 23 23 #include <linux/hiddev.h> 24 24 #include <linux/pci.h> 25 25 #include <linux/dmi.h> 26 + #include <linux/delay.h> 26 27 27 28 #include "hv_api.h" 28 29 #include "logging.h"