patch-2.3.19 linux/drivers/net/arlan-proc.c

Next file: linux/drivers/net/arlan.c
Previous file: linux/drivers/net/acenic.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.18/linux/drivers/net/arlan-proc.c linux/drivers/net/arlan-proc.c
@@ -1,10 +1,11 @@
 #include <linux/config.h>
 #include "arlan.h"
 
+#include <linux/sysctl.h>
+
 #ifdef CONFIG_PROC_FS
 
 
-#include <linux/sysctl.h>
 #include <linux/version.h>
 
 /* void enableReceive(struct net_device* dev);
@@ -1001,6 +1002,12 @@
 	{0}
 };
 #endif
+#else
+
+static ctl_table arlan_table[MAX_ARLANS + 1] =
+{
+	{0}
+};
 #endif
 
 static int mmtu = 1234;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)