Lance needs delay.h

From: Matthew Wilcox
Date: Mon Mar 07 2005 - 12:34:53 EST



An 'allyesconfig' on PA-RISC shows that lance is using mdelay without
including <linux/delay.h>

Signed-off-by: Matthew Wilcox <matthew@xxxxxx>

Index: ./drivers/net/lance.c
===================================================================
RCS file: /var/cvs/linux-2.6/drivers/net/lance.c,v
retrieving revision 1.8
diff -u -p -r1.8 lance.c
--- ./drivers/net/lance.c 12 Jan 2005 20:16:46 -0000 1.8
+++ ./drivers/net/lance.c 7 Mar 2005 14:24:18 -0000
@@ -47,6 +47,7 @@ static const char version[] = "lance.c:v
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/string.h>
+#include <linux/delay.h>
#include <linux/errno.h>
#include <linux/ioport.h>
#include <linux/slab.h>
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html