summaryrefslogtreecommitdiffstats
path: root/misc-modules/seq.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc-modules/seq.c')
-rw-r--r--misc-modules/seq.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/misc-modules/seq.c b/misc-modules/seq.c
index 59026a5..146615a 100644
--- a/misc-modules/seq.c
+++ b/misc-modules/seq.c
@@ -94,9 +94,7 @@ static int ct_init(void)
{
struct proc_dir_entry *entry;
- entry = create_proc_entry("sequence", 0, NULL);
- if (entry)
- entry->proc_fops = &ct_file_ops;
+ entry = proc_create("sequence", 0, NULL, &ct_file_ops);
return 0;
}