[PATCH] xirc2ps_cs.c SET_MODULE_OWNER(dev)

From: Thomas Hood (jdthoodREMOVETHIS@yahoo.co.uk)
Date: Thu Feb 08 2001 - 19:21:43 EST


I presume that this change needs to be made.
(All of the drivers/net/pcmcia/*.c need the change.)
 // Thomas

jdthood@thanatos:/usr/src/kernel-source-2.4.1-ac3/drivers/net/pcmcia# diff -Naur xirc2ps_cs.c_ORIG xirc2ps_cs.c
--- xirc2ps_cs.c_ORIG Thu Feb 8 19:11:54 2001
+++ xirc2ps_cs.c Thu Feb 8 19:12:01 2001
@@ -637,6 +637,7 @@
     link->irq.Instance = dev;
 
     /* Fill in card specific entries */
+ SET_MODULE_OWNER(dev);
     dev->hard_start_xmit = &do_start_xmit;
     dev->set_config = &do_config;
     dev->get_stats = &do_get_stats;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Feb 15 2001 - 21:00:13 EST