Re: linux-next: Tree for March 13 (PCI patch)

From: Randy Dunlap
Date: Thu Mar 13 2008 - 13:02:57 EST


On Thu, 13 Mar 2008 17:35:06 +1100 Stephen Rothwell wrote:

> Hi all,
>
> I have created today's linux-next tree at
> git://git.kernel.org/pub/scm/linux/kernel/git/sfr/linux-next.git
> (tar balls at
> http://www.kernel.org/pub/linux/kernel/people/sfr/linux-next/).

---

From: Randy Dunlap <randy.dunlap@xxxxxxxxxx>

access.c uses udelay() so needs to #include delay.h.

next-20080313/drivers/pci/access.c:167: error: implicit declaration of function 'udelay'
make[3]: *** [drivers/pci/access.o] Error 1
make[2]: *** [drivers/pci] Error 2
make[1]: *** [drivers] Error 2
make[1]: *** Waiting for unfinished jobs....
make: *** [sub-make] Error 2

Signed-off-by: Randy Dunlap <randy.dunlap@xxxxxxxxxx>
---
drivers/pci/access.c | 1 +
1 file changed, 1 insertion(+)

--- next-20080313.orig/drivers/pci/access.c
+++ next-20080313/drivers/pci/access.c
@@ -1,3 +1,4 @@
+#include <linux/delay.h>
#include <linux/pci.h>
#include <linux/module.h>
#include <linux/sched.h>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/