2.4.9-ac10 (not 2.4.10-pre5!) wan fixes

Eyal Lebedinsky
2001-09-08T06:43:08Z

[-- Attachment #1: Type: text/plain, Size: 90 bytes --]

A number of modules fail to include <linux/module.h> but use the new
MODULE_LICENSE macro.

[-- Attachment #2: 2.4.9-ac10-wan.patch --]
[-- Type: text/plain, Size: 3110 bytes --]

diff -u -r linux/drivers/net/wan-orig/sdla_chdlc.c linux/drivers/net/wan/sdla_chdlc.c
--- linux/drivers/net/wan-orig/sdla_chdlc.c Sat Sep 8 16:22:28 2001
+++ linux/drivers/net/wan/sdla_chdlc.c Sat Sep 8 16:17:52 2001
@@ -48,6 +48,7 @@
* Aug 07, 1998 David Fong Initial version.
*****************************************************************************/

+#include <linux/module.h>
#include <linux/version.h>
#include <linux/kernel.h> /* printk(), and other useful stuff */
#include <linux/stddef.h> /* offsetof(), etc. */
diff -u -r linux/drivers/net/wan-orig/sdla_fr.c linux/drivers/net/wan/sdla_fr.c
--- linux/drivers/net/wan-orig/sdla_fr.c Sat Sep 8 16:23:04 2001
+++ linux/drivers/net/wan/sdla_fr.c Sat Sep 8 16:23:17 2001
@@ -138,6 +138,7 @@
* Jan 02, 1997 Gene Kozin Initial version.
*****************************************************************************/

+#include <linux/module.h>
#include <linux/version.h>
#include <linux/kernel.h> /* printk(), and other useful stuff */
#include <linux/stddef.h> /* offsetof(), etc. */
diff -u -r linux/drivers/net/wan-orig/sdla_ft1.c linux/drivers/net/wan/sdla_ft1.c
--- linux/drivers/net/wan-orig/sdla_ft1.c Sat Sep 8 16:13:18 2001
+++ linux/drivers/net/wan/sdla_ft1.c Sat Sep 8 16:13:34 2001
@@ -20,6 +20,7 @@
* Aug 07, 1998 David Fong Initial version.
*****************************************************************************/

+#include <linux/module.h>
#include <linux/version.h>
#include <linux/kernel.h> /* printk(), and other useful stuff */
#include <linux/stddef.h> /* offsetof(), etc. */
diff -u -r linux/drivers/net/wan-orig/sdla_ppp.c linux/drivers/net/wan/sdla_ppp.c
--- linux/drivers/net/wan-orig/sdla_ppp.c Sat Sep 8 16:22:13 2001
+++ linux/drivers/net/wan/sdla_ppp.c Sat Sep 8 16:18:50 2001
@@ -90,6 +90,7 @@
* Jan 06, 1997 Gene Kozin Initial version.
*****************************************************************************/

+#include <linux/module.h>
#include <linux/version.h>
#include <linux/kernel.h> /* printk(), and other useful stuff */
#include <linux/stddef.h> /* offsetof(), etc. */
diff -u -r linux/drivers/net/wan-orig/sdla_x25.c linux/drivers/net/wan/sdla_x25.c
--- linux/drivers/net/wan-orig/sdla_x25.c Sat Sep 8 16:15:33 2001
+++ linux/drivers/net/wan/sdla_x25.c Sat Sep 8 16:15:12 2001
@@ -81,6 +81,7 @@
* Includes
*=====================================================*/

+#include <linux/module.h>
#include <linux/version.h>
#include <linux/kernel.h> /* printk(), and other useful stuff */
#include <linux/stddef.h> /* offsetof(), etc. */
diff -u -r linux/drivers/net/wan-orig/wanpipe_multppp.c linux/drivers/net/wan/wanpipe_multppp.c
--- linux/drivers/net/wan-orig/wanpipe_multppp.c Sat Sep 8 16:24:02 2001
+++ linux/drivers/net/wan/wanpipe_multppp.c Sat Sep 8 16:19:59 2001
@@ -17,6 +17,7 @@
* module.
*****************************************************************************/

+#include <linux/module.h>
#include <linux/version.h>
#include <linux/kernel.h> /* printk(), and other useful stuff */