aboutsummaryrefslogtreecommitdiffstats
path: root/net/llc/llc_proc.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/llc/llc_proc.c')
-rw-r--r--net/llc/llc_proc.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/net/llc/llc_proc.c b/net/llc/llc_proc.c
index 19308fece3ad..3ab9d9f8b17f 100644
--- a/net/llc/llc_proc.c
+++ b/net/llc/llc_proc.c
@@ -142,18 +142,18 @@ out:
142} 142}
143 143
144static char *llc_conn_state_names[] = { 144static char *llc_conn_state_names[] = {
145 [LLC_CONN_STATE_ADM] = "adm", 145 [LLC_CONN_STATE_ADM] = "adm",
146 [LLC_CONN_STATE_SETUP] = "setup", 146 [LLC_CONN_STATE_SETUP] = "setup",
147 [LLC_CONN_STATE_NORMAL] = "normal", 147 [LLC_CONN_STATE_NORMAL] = "normal",
148 [LLC_CONN_STATE_BUSY] = "busy", 148 [LLC_CONN_STATE_BUSY] = "busy",
149 [LLC_CONN_STATE_REJ] = "rej", 149 [LLC_CONN_STATE_REJ] = "rej",
150 [LLC_CONN_STATE_AWAIT] = "await", 150 [LLC_CONN_STATE_AWAIT] = "await",
151 [LLC_CONN_STATE_AWAIT_BUSY] = "await_busy", 151 [LLC_CONN_STATE_AWAIT_BUSY] = "await_busy",
152 [LLC_CONN_STATE_AWAIT_REJ] = "await_rej", 152 [LLC_CONN_STATE_AWAIT_REJ] = "await_rej",
153 [LLC_CONN_STATE_D_CONN] = "d_conn", 153 [LLC_CONN_STATE_D_CONN] = "d_conn",
154 [LLC_CONN_STATE_RESET] = "reset", 154 [LLC_CONN_STATE_RESET] = "reset",
155 [LLC_CONN_STATE_ERROR] = "error", 155 [LLC_CONN_STATE_ERROR] = "error",
156 [LLC_CONN_STATE_TEMP] = "temp", 156 [LLC_CONN_STATE_TEMP] = "temp",
157}; 157};
158 158
159static int llc_seq_core_show(struct seq_file *seq, void *v) 159static int llc_seq_core_show(struct seq_file *seq, void *v)
@@ -208,7 +208,7 @@ static int llc_seq_core_open(struct inode *inode, struct file *file)
208 return seq_open(file, &llc_seq_core_ops); 208 return seq_open(file, &llc_seq_core_ops);
209} 209}
210 210
211static struct file_operations llc_seq_socket_fops = { 211static const struct file_operations llc_seq_socket_fops = {
212 .owner = THIS_MODULE, 212 .owner = THIS_MODULE,
213 .open = llc_seq_socket_open, 213 .open = llc_seq_socket_open,
214 .read = seq_read, 214 .read = seq_read,
@@ -216,7 +216,7 @@ static struct file_operations llc_seq_socket_fops = {
216 .release = seq_release, 216 .release = seq_release,
217}; 217};
218 218
219static struct file_operations llc_seq_core_fops = { 219static const struct file_operations llc_seq_core_fops = {
220 .owner = THIS_MODULE, 220 .owner = THIS_MODULE,
221 .open = llc_seq_core_open, 221 .open = llc_seq_core_open,
222 .read = seq_read, 222 .read = seq_read,