patch-2.1.36 linux/drivers/net/scc.c

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

diff -u --recursive --new-file v2.1.35/linux/drivers/net/scc.c linux/drivers/net/scc.c
@@ -153,6 +153,7 @@
 #include <linux/if_ether.h>
 #include <linux/if_arp.h>
 #include <linux/socket.h>
+#include <linux/init.h>
 
 #include <linux/scc.h>
 #include "z8530.h"
@@ -2153,7 +2154,7 @@
 /* * 			Init SCC driver 			      * */
 /* ******************************************************************** */
 
-int scc_init (void)
+__initfunc(int scc_init (void))
 {
 	int chip, chan, k, result;
 	char devname[10];

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov