aboutsummaryrefslogtreecommitdiffstats
path: root/net/irda/irproc.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/irda/irproc.c')
-rw-r--r--net/irda/irproc.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/net/irda/irproc.c b/net/irda/irproc.c
index 8ff1861649e8..318766e5dbdf 100644
--- a/net/irda/irproc.c
+++ b/net/irda/irproc.c
@@ -34,21 +34,21 @@
34#include <net/irda/irlap.h> 34#include <net/irda/irlap.h>
35#include <net/irda/irlmp.h> 35#include <net/irda/irlmp.h>
36 36
37extern struct file_operations discovery_seq_fops; 37extern const struct file_operations discovery_seq_fops;
38extern struct file_operations irlap_seq_fops; 38extern const struct file_operations irlap_seq_fops;
39extern struct file_operations irlmp_seq_fops; 39extern const struct file_operations irlmp_seq_fops;
40extern struct file_operations irttp_seq_fops; 40extern const struct file_operations irttp_seq_fops;
41extern struct file_operations irias_seq_fops; 41extern const struct file_operations irias_seq_fops;
42 42
43struct irda_entry { 43struct irda_entry {
44 const char *name; 44 const char *name;
45 struct file_operations *fops; 45 const struct file_operations *fops;
46}; 46};
47 47
48struct proc_dir_entry *proc_irda; 48struct proc_dir_entry *proc_irda;
49EXPORT_SYMBOL(proc_irda); 49EXPORT_SYMBOL(proc_irda);
50 50
51static struct irda_entry irda_dirs[] = { 51static const struct irda_entry irda_dirs[] = {
52 {"discovery", &discovery_seq_fops}, 52 {"discovery", &discovery_seq_fops},
53 {"irttp", &irttp_seq_fops}, 53 {"irttp", &irttp_seq_fops},
54 {"irlmp", &irlmp_seq_fops}, 54 {"irlmp", &irlmp_seq_fops},