Hi all,
attached patches add missing __init and (__devinit) to some network drivers:
at1700.c, eepro.c, epic100.c, hamachi.c, sis900.c,
tokenring/abyss.c, tokenring/tmsisa.c, tokenring/tmspci.c.
Best regards.
--
Andrey Panin | Embedded systems software engineer
[email protected] | PGP key: http://www.orbita1.ru/~pazke/AndreyPanin.asc
"Andrey Panin wrote:"
>
> attached patches add missing __init and (__devinit) to some network drivers:
> at1700.c, eepro.c, epic100.c, hamachi.c, sis900.c,=20
> tokenring/abyss.c, tokenring/tmsisa.c, tokenring/tmspci.c.
>
> diff -ur -x *.o -x *.flags /linux.vanilla/drivers/net/tokenring/tmsisa.c /l=
> inux/drivers/net/tokenring/tmsisa.c
> --- /linux.vanilla/drivers/net/tokenring/tmsisa.c Mon Apr 2 15:45:22 2001
> +++ /linux/drivers/net/tokenring/tmsisa.c Sun Apr 8 18:18:51 2001
> @@ -19,7 +19,7 @@
> * TODO:
> * 1. Add support for Proteon TR ISA adapters (1392, 1392+)
> */
> -static const char *version = "tmsisa.c: v1.00 14/01/2001 by Jochen Friedrich\n";
> +static const char version[] __initdata = "tmsisa.c: v1.00 14/01/2001 by Jochen Friedrich\n";
You should move this line after
#include <linux/init.h>
> #include <linux/module.h>
> #include <linux/kernel.h>
Andrzej