From: weltall <weltall2@gmail.com>
To: linux-kernel@vger.kernel.org
Subject: Re: Linux 2.6.39-rc2
Date: Wed, 06 Apr 2011 22:17:27 +0200 [thread overview]
Message-ID: <1302121047.11467.82.camel@portatile> (raw)
Looks like there is an issue with building a driver in staging
LD [M] drivers/staging/hv/hv_netvsc.o
LD [M] drivers/staging/hv/hv_utils.o
CC [M] drivers/staging/hv/hv_mouse.o
drivers/staging/hv/hv_mouse.c: In function ‘ReleaseInputDevice’:
drivers/staging/hv/hv_mouse.c:293: error: implicit declaration of
function ‘udelay’
make[4]: *** [drivers/staging/hv/hv_mouse.o] Error 1
make[3]: *** [drivers/staging/hv] Error 2
make[2]: *** [drivers/staging] Error 2
Seems to be just a missing header in drivers/staging/hv/hv_mouse.c (to
be precise linux/delay.h as the file uses udelay()) this patch fixes the
issue:
--- drivers/staging/hv/hv_mouse.c 2011-04-06 20:46:22.000000000 +0200
+++ drivers/staging/hv/hv_mouse.c 2011-04-06 20:46:54.000000000 +0200
@@ -15,6 +15,7 @@
#include <linux/init.h>
#include <linux/module.h>
#include <linux/device.h>
+#include <linux/delay.h>
#include <linux/workqueue.h>
#include <linux/sched.h>
#include <linux/wait.h>
regards, Stefano Angeleri
next reply other threads:[~2011-04-06 20:17 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-06 20:17 weltall [this message]
-- strict thread matches above, loose matches on Subject: below --
2011-04-06 2:00 Linux 2.6.39-rc2 Linus Torvalds
2011-04-06 7:19 ` Sven Joachim
2011-04-06 14:20 ` Linus Torvalds
2011-04-06 14:21 ` Ted Ts'o
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1302121047.11467.82.camel@portatile \
--to=weltall2@gmail.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox