[<prev] [next>] [day] [month] [year] [list]
Message-ID: <1302121047.11467.82.camel@portatile>
Date: Wed, 06 Apr 2011 22:17:27 +0200
From: weltall <weltall2@...il.com>
To: linux-kernel@...r.kernel.org
Subject: Re: Linux 2.6.39-rc2
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists