public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] 2.6.3 - fix for undefined mdelay in 3c505
@ 2004-02-25 14:11 Jakub Bogusz
  2004-02-25 14:24 ` David Weinehall
  2004-02-26  5:43 ` Jeff Garzik
  0 siblings, 2 replies; 5+ messages in thread
From: Jakub Bogusz @ 2004-02-25 14:11 UTC (permalink / raw)
  To: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 340 bytes --]

This patch fixes undefined mdelay() in 3c505 driver - at least on alpha
(maybe on other archs <linux/delay.h> is included by some other headers,
but on alpha it isn't) there was warning:

*** Warning: "mdelay" [drivers/net/3c505.ko] undefined!


-- 
Jakub Bogusz    http://cyber.cs.net.pl/~qboosh/
PLD Team        http://www.pld-linux.org/

[-- Attachment #2: linux-3c505-mdelay.patch --]
[-- Type: text/plain, Size: 397 bytes --]

fixes "*** Warning: "mdelay" [drivers/net/3c505.ko] undefined!"

--- linux-2.6.3/drivers/net/3c505.c.orig	2004-02-18 04:59:55.000000000 +0100
+++ linux-2.6.3/drivers/net/3c505.c	2004-02-25 14:54:15.000000000 +0100
@@ -106,6 +106,7 @@
 #include <linux/ioport.h>
 #include <linux/spinlock.h>
 #include <linux/ethtool.h>
+#include <linux/delay.h>
 
 #include <asm/uaccess.h>
 #include <asm/bitops.h>

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-02-26  5:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-25 14:11 [PATCH] 2.6.3 - fix for undefined mdelay in 3c505 Jakub Bogusz
2004-02-25 14:24 ` David Weinehall
2004-02-25 14:32   ` Jakub Bogusz
2004-02-25 14:36     ` David Weinehall
2004-02-26  5:43 ` Jeff Garzik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox