Skip to contentSkip to conversation

staging: hv_mouse: Fix build error

PATCH In review Joerg Roedel 2 participants 3 messages Apr 6, 2011 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: hv_mouse: Fix build error

The compiler argues about the implictly declared udelay function. Fix it by adding the appropriate include.

---
 drivers/staging/hv/hv_mouse.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/staging/hv/hv_mouse.c +1 -0
index 50147f8..9c6d4d2 100644
@@ -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"
Signature · 1 line
1.7.1
#1 lore raw
Quoted 4 lines · Joerg Roedel

The compiler argues about the implictly declared udelay function. Fix it by adding the appropriate include.

Already queued up to go to Linus in the linux-next tree.

thanks,

greg k-h

#2 lore raw
Quoted 7 lines · Greg KH
Quoted 4 lines · Joerg Roedel

The compiler argues about the implictly declared udelay function. Fix it by adding the appropriate include.

Already queued up to go to Linus in the linux-next tree.

Ok, fine. I just noticed it when building -rc2 with another .config.

Joerg

Signature · 5 lines
AMD Operating System Research Center

Advanced Micro Devices GmbH Einsteinring 24 85609 Dornach
General Managers: Alberto Bozzo, Andrew Bowd
Registration: Dornach, Landkr. Muenchen; Registerger. Muenchen, HRB Nr. 43632