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

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

diff -u --recursive --new-file v2.1.35/linux/drivers/net/shaper.c linux/drivers/net/shaper.c
@@ -68,6 +68,7 @@
 #include <linux/etherdevice.h>
 #include <linux/skbuff.h>
 #include <linux/if_arp.h>
+#include <linux/init.h>
 #include <net/dst.h>
 #include "shaper.h"
 
@@ -545,7 +546,7 @@
  *	Add a shaper device to the system
  */
  
-int shaper_probe(struct device *dev)
+__initfunc(int shaper_probe(struct device *dev))
 {
 	/*
 	 *	Set up the shaper.

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