git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
seq_file: use proc_create() in documentation
[safe/jmp/linux-2.6]
/
Documentation
/
filesystems
/
seq_file.txt
diff --git
a/Documentation/filesystems/seq_file.txt
b/Documentation/filesystems/seq_file.txt
index
0d15ebc
..
a1e2e0d
100644
(file)
--- a/
Documentation/filesystems/seq_file.txt
+++ b/
Documentation/filesystems/seq_file.txt
@@
-248,9
+248,7
@@
code, that is done in the initialization code in the usual way:
{
struct proc_dir_entry *entry;
- entry = create_proc_entry("sequence", 0, NULL);
- if (entry)
- entry->proc_fops = &ct_file_ops;
+ proc_create("sequence", 0, NULL, &ct_file_ops);
return 0;
}