patch-1.3.52 linux/drivers/net/net_init.c
Next file: linux/drivers/pci/pci.c
Previous file: linux/drivers/block/ide.h
Back to the patch index
Back to the overall index
-  Lines: 16
-  Date:
Fri Dec 29 15:15:15 1995
-  Orig file: 
v1.3.51/linux/drivers/net/net_init.c
-  Orig date: 
Wed Dec 13 09:02:46 1995
diff -u --recursive --new-file v1.3.51/linux/drivers/net/net_init.c linux/drivers/net/net_init.c
@@ -237,6 +237,7 @@
 	return 0;
 }
 
+#ifdef CONFIG_MODULES
 int register_netdev(struct device *dev)
 {
 	struct device *d = dev_base;
@@ -356,6 +357,7 @@
 
 	restore_flags(flags);
 }
+#endif		/* CONFIG_MODULES */
 
 
 
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this