nls: have register_nls() set ->owner
pass owner explicitly to __register_nls(), make register_nls() a macro passing THIS_MODULE as the owner argument to __register_nls(). Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
@@ -513,7 +513,6 @@ static struct nls_table table = {
|
||||
.char2uni = char2uni,
|
||||
.charset2lower = charset2lower,
|
||||
.charset2upper = charset2upper,
|
||||
.owner = THIS_MODULE,
|
||||
};
|
||||
|
||||
static int __init init_nls_macinuit(void)
|
||||
|
Reference in New Issue
Block a user