patch-2.3.13 linux/drivers/char/stallion.c

Next file: linux/drivers/char/sx.c
Previous file: linux/drivers/char/softdog.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.12/linux/drivers/char/stallion.c linux/drivers/char/stallion.c
@@ -2280,7 +2280,7 @@
  *	interrupt across multiple boards.
  */
 
-__initfunc(static int stl_mapirq(int irq, char *name))
+static int __init stl_mapirq(int irq, char *name)
 {
 	int	rc, i;
 
@@ -2311,7 +2311,7 @@
  *	Initialize all the ports on a panel.
  */
 
-__initfunc(static int stl_initports(stlbrd_t *brdp, stlpanel_t *panelp))
+static int __init stl_initports(stlbrd_t *brdp, stlpanel_t *panelp)
 {
 	stlport_t	*portp;
 	int		chipmask, i;
@@ -2700,7 +2700,7 @@
  *	since the initial search and setup is very different.
  */
 
-__initfunc(static int stl_brdinit(stlbrd_t *brdp))
+static int __init stl_brdinit(stlbrd_t *brdp)
 {
 	int	i;
 
@@ -3204,7 +3204,7 @@
 
 /*****************************************************************************/
 
-__initfunc(int stl_init(void))
+int __init stl_init(void)
 {
 	printk(KERN_INFO "%s: version %s\n", stl_drvtitle, stl_drvversion);
 

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