mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 11:46:19 +00:00
proc: proc_sys_root tweak
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
This commit is contained in:
parent
300b994b74
commit
e1675231ce
1 changed files with 2 additions and 2 deletions
|
@ -395,10 +395,10 @@ static struct dentry_operations proc_sys_dentry_operations = {
|
|||
.d_compare = proc_sys_compare,
|
||||
};
|
||||
|
||||
static struct proc_dir_entry *proc_sys_root;
|
||||
|
||||
int proc_sys_init(void)
|
||||
{
|
||||
struct proc_dir_entry *proc_sys_root;
|
||||
|
||||
proc_sys_root = proc_mkdir("sys", NULL);
|
||||
proc_sys_root->proc_iops = &proc_sys_dir_operations;
|
||||
proc_sys_root->proc_fops = &proc_sys_dir_file_operations;
|
||||
|
|
Loading…
Reference in a new issue