Commit ecca22ec authored by Zwane Mwaikambo's avatar Zwane Mwaikambo Committed by Linus Torvalds

[PATCH] Grab SET_MODULE_OWNER from the clutches of the deprecated

This comment seems to want to include SET_MODULE_OWNER as one of the
deprecated facilities.
parent 1b7ac1e3
...@@ -408,9 +408,9 @@ __attribute__((section(".gnu.linkonce.this_module"))) = { ...@@ -408,9 +408,9 @@ __attribute__((section(".gnu.linkonce.this_module"))) = {
#endif /* MODULE */ #endif /* MODULE */
#define symbol_request(x) try_then_request_module(symbol_get(x), "symbol:" #x) #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 */ /* BELOW HERE ALL THESE ARE OBSOLETE AND WILL VANISH */
#define SET_MODULE_OWNER(dev) ((dev)->owner = THIS_MODULE)
struct obsolete_modparm { struct obsolete_modparm {
char name[64]; char name[64];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment