Commit 540357d7 authored by Jakub Bogusz's avatar Jakub Bogusz Committed by Christoph Hellwig

[PATCH] 2.6.3 - fix for undefined mdelay in 3c505

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!
parent a33161f5
...@@ -106,6 +106,7 @@ ...@@ -106,6 +106,7 @@
#include <linux/ioport.h> #include <linux/ioport.h>
#include <linux/spinlock.h> #include <linux/spinlock.h>
#include <linux/ethtool.h> #include <linux/ethtool.h>
#include <linux/delay.h>
#include <asm/uaccess.h> #include <asm/uaccess.h>
#include <asm/bitops.h> #include <asm/bitops.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment