--- ../../../vortex/3c59x.c Thu Apr 17 17:57:48 2003 +++ 3c59x.c Tue Dec 2 13:37:54 2003 @@ -103,7 +103,6 @@ #include #include #else -#include #include #endif @@ -724,11 +723,6 @@ #if defined(MODULE) || (LINUX_VERSION_CODE >= 0x020400) -#if ! defined(MODULE) /* Must be a 2.4 kernel */ -module_init(init_module); -module_exit(cleanup_module); -#endif - int init_module(void) { printk(KERN_INFO "%s" KERN_INFO "%s", versionA, versionB); @@ -2601,7 +2595,6 @@ } -#ifdef MODULE void cleanup_module(void) { struct net_device *next_dev; @@ -2633,7 +2626,10 @@ } } -#endif /* MODULE */ +#if ! defined(MODULE) /* Must be a 2.4 kernel */ +module_init(init_module); +module_exit(cleanup_module); +#endif /* * Local variables: