diff options
Diffstat (limited to 'security')
-rw-r--r-- | security/inode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/security/inode.c b/security/inode.c index b28a8acae34d..9e42f5f705b2 100644 --- a/security/inode.c +++ b/security/inode.c | |||
@@ -315,13 +315,13 @@ void securityfs_remove(struct dentry *dentry) | |||
315 | } | 315 | } |
316 | EXPORT_SYMBOL_GPL(securityfs_remove); | 316 | EXPORT_SYMBOL_GPL(securityfs_remove); |
317 | 317 | ||
318 | static decl_subsys(security, NULL, NULL); | 318 | static decl_subsys(security, NULL); |
319 | 319 | ||
320 | static int __init securityfs_init(void) | 320 | static int __init securityfs_init(void) |
321 | { | 321 | { |
322 | int retval; | 322 | int retval; |
323 | 323 | ||
324 | kobj_set_kset_s(&security_subsys, kernel_subsys); | 324 | security_subsys.kobj.kset = &kernel_subsys; |
325 | retval = subsystem_register(&security_subsys); | 325 | retval = subsystem_register(&security_subsys); |
326 | if (retval) | 326 | if (retval) |
327 | return retval; | 327 | return retval; |