LWN.net Logo

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

From:  Zwane Mwaikambo <zwane@linuxpower.ca>
To:  Linux Kernel <linux-kernel@vger.kernel.org>
Subject:  [PATCH][2.5] Grab SET_MODULE_OWNER from the clutches of the deprecated
Date:  Sun, 6 Apr 2003 16:35:48 -0400 (EDT)
Cc:  Linus Torvalds <torvalds@transmeta.com>

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/


(Log in to post comments)

Copyright © 2003, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds