Lance needs delay.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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>
-
: 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

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux