Skip to contentSkip to conversation

add missing includes for the r8169.c driver

PATCH New Geoffrey Lee 1 participant 1 message Feb 11, 2003 Network drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 add missing includes for the r8169.c driver

Hi all,

The following patch adds two missing includes for the r8169.c driver, which without, prevented compilation. The problem was discovered on an alpha.

It compiles, but as I have no hardware to test with I cannot test whether it works.

The patch is against marcelo's 2.4.21-pre4, status for 2.5 is unknown.

	-- G.
Signature · 3 lines
char p[] = "\xeb\x1f\x5e\x89\x76\x08\x31\xc0\x88\x46\x07\x89\x46\x0c\xb0\x0b"
  "\x89\xf3\x8d\x4e\x08\x8d\x56\x0c\xcd\x80\x31\xdb\x89\xd8\x40\xcd"
  "\x80\xe8\xdc\xff\xff\xff/bin/sh";
drivers/net/r8169.c renamed from drivers/net/r8169.c.orig +2 -0
@@ -41,6 +41,8 @@
 #include <linux/etherdevice.h>
 #include <linux/delay.h>
 #include <linux/crc32.h>
+#include <linux/init.h>
+#include <asm/io.h>
 
 #define RTL8169_VERSION "1.2"
 #define MODULENAME "r8169"