]> git.hungrycats.org Git - linux/commitdiff
[PATCH] Grab SET_MODULE_OWNER from the clutches of the deprecated
authorZwane Mwaikambo <zwane@linuxpower.ca>
Sun, 6 Apr 2003 12:21:24 +0000 (05:21 -0700)
committerLinus Torvalds <torvalds@home.transmeta.com>
Sun, 6 Apr 2003 12:21:24 +0000 (05:21 -0700)
This comment seems to want to include SET_MODULE_OWNER as one of the
deprecated facilities.

include/linux/module.h

index 30892e43640160e6869bcc0312789a4143ff4b42..657802c8af758ce2377c03bd3e2424980e301cba 100644 (file)
@@ -408,9 +408,9 @@ __attribute__((section(".gnu.linkonce.this_module"))) = {
 #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];