aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/params.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/params.c')
-rw-r--r--kernel/params.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/params.c b/kernel/params.c
index b077f1b045d3..a1e3025b19a9 100644
--- a/kernel/params.c
+++ b/kernel/params.c
@@ -510,6 +510,7 @@ fail:
510 return err; 510 return err;
511} 511}
512 512
513#ifdef CONFIG_MODULES
513static void free_module_param_attrs(struct module_kobject *mk) 514static void free_module_param_attrs(struct module_kobject *mk)
514{ 515{
515 kfree(mk->mp->grp.attrs); 516 kfree(mk->mp->grp.attrs);
@@ -517,7 +518,6 @@ static void free_module_param_attrs(struct module_kobject *mk)
517 mk->mp = NULL; 518 mk->mp = NULL;
518} 519}
519 520
520#ifdef CONFIG_MODULES
521/* 521/*
522 * module_param_sysfs_setup - setup sysfs support for one module 522 * module_param_sysfs_setup - setup sysfs support for one module
523 * @mod: module 523 * @mod: module