diff options
Diffstat (limited to 'kernel/configs.c')
-rw-r--r-- | kernel/configs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/configs.c b/kernel/configs.c index d3a4b82a8a96..4c345210ed8c 100644 --- a/kernel/configs.c +++ b/kernel/configs.c | |||
@@ -79,11 +79,11 @@ static int __init ikconfig_init(void) | |||
79 | struct proc_dir_entry *entry; | 79 | struct proc_dir_entry *entry; |
80 | 80 | ||
81 | /* create the current config file */ | 81 | /* create the current config file */ |
82 | entry = create_proc_entry("config.gz", S_IFREG | S_IRUGO, NULL); | 82 | entry = proc_create("config.gz", S_IFREG | S_IRUGO, NULL, |
83 | &ikconfig_file_ops); | ||
83 | if (!entry) | 84 | if (!entry) |
84 | return -ENOMEM; | 85 | return -ENOMEM; |
85 | 86 | ||
86 | entry->proc_fops = &ikconfig_file_ops; | ||
87 | entry->size = kernel_config_data_size; | 87 | entry->size = kernel_config_data_size; |
88 | 88 | ||
89 | return 0; | 89 | return 0; |