2001-02-09 00:22:24

by Thomas Hood

[permalink] [raw]
Subject: [PATCH] xirc2ps_cs.c SET_MODULE_OWNER(dev)

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;