[PATCH][2.5] Grab SET_MODULE_OWNER from the clutches of the deprecated

Zwane Mwaikambo (zwane@linuxpower.ca)
Sun, 6 Apr 2003 16:35:48 -0400 (EDT)


This comment seems to want to include SET_MODULE_OWNER as one of the
deprecated facilities.

Index: linux-2.5.66/include/linux/module.h
===================================================================
RCS file: /build/cvsroot/linux-2.5.66/include/linux/module.h,v
retrieving revision 1.1.1.1
diff -u -p -B -r1.1.1.1 module.h
--- linux-2.5.66/include/linux/module.h 24 Mar 2003 23:40:13 -0000 1.1.1.1
+++ linux-2.5.66/include/linux/module.h 6 Apr 2003 20:21:51 -0000
@@ -412,9 +412,9 @@ __attribute__((section(".gnu.linkonce.th
#endif /* MODULE */

#define symbol_request(x) try_then_request_module(symbol_get(x), "symbol:" #x)
+#define SET_MODULE_OWNER(dev) ((dev)->owner = THIS_MODULE)

/* BELOW HERE ALL THESE ARE OBSOLETE AND WILL VANISH */
-#define SET_MODULE_OWNER(dev) ((dev)->owner = THIS_MODULE)

struct obsolete_modparm {
char name[64];

-- 
function.linuxpower.ca
-
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/