Re: linux-2.4.10-pre5: drivers/net/wan compile fixes

Eyal Lebedinsky (eyal@eyal.emu.id.au)
Sat, 08 Sep 2001 16:32:56 +1000


This is a multi-part message in MIME format.
--------------9F3FD0778ACAA955116E80B9
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

A number of modules fail to include <linux/module.h> but use the new
MODULE_LICENSE macro.
--------------9F3FD0778ACAA955116E80B9
Content-Type: text/plain; charset=us-ascii;
name="2.4.10-pre5-wan.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="2.4.10-pre5-wan.patch"

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 */
#include <linux/stddef.h> /* offsetof(), etc. */

--------------9F3FD0778ACAA955116E80B9--

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/