Commit a23fe55e authored by Jan Engelhardt's avatar Jan Engelhardt Committed by Tony Luck

[IA64] constify function pointer tables

Signed-off-by: default avatarJan Engelhardt <jengelh@computergmbh.de>
Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
parent 0df29025
...@@ -1871,7 +1871,7 @@ ioc_show(struct seq_file *s, void *v) ...@@ -1871,7 +1871,7 @@ ioc_show(struct seq_file *s, void *v)
return 0; return 0;
} }
static struct seq_operations ioc_seq_ops = { static const struct seq_operations ioc_seq_ops = {
.start = ioc_start, .start = ioc_start,
.next = ioc_next, .next = ioc_next,
.stop = ioc_stop, .stop = ioc_stop,
......
...@@ -5795,7 +5795,7 @@ pfm_proc_show(struct seq_file *m, void *v) ...@@ -5795,7 +5795,7 @@ pfm_proc_show(struct seq_file *m, void *v)
return 0; return 0;
} }
struct seq_operations pfm_seq_ops = { const struct seq_operations pfm_seq_ops = {
.start = pfm_proc_start, .start = pfm_proc_start,
.next = pfm_proc_next, .next = pfm_proc_next,
.stop = pfm_proc_stop, .stop = pfm_proc_stop,
......
...@@ -654,7 +654,7 @@ c_stop (struct seq_file *m, void *v) ...@@ -654,7 +654,7 @@ c_stop (struct seq_file *m, void *v)
{ {
} }
struct seq_operations cpuinfo_op = { const struct seq_operations cpuinfo_op = {
.start = c_start, .start = c_start,
.next = c_next, .next = c_next,
.stop = c_stop, .stop = c_stop,
......
...@@ -523,7 +523,7 @@ static ssize_t sn2_ptc_proc_write(struct file *file, const char __user *user, si ...@@ -523,7 +523,7 @@ static ssize_t sn2_ptc_proc_write(struct file *file, const char __user *user, si
return count; return count;
} }
static struct seq_operations sn2_ptc_seq_ops = { static const struct seq_operations sn2_ptc_seq_ops = {
.start = sn2_ptc_seq_start, .start = sn2_ptc_seq_start,
.next = sn2_ptc_seq_next, .next = sn2_ptc_seq_next,
.stop = sn2_ptc_seq_stop, .stop = sn2_ptc_seq_stop,
......
...@@ -577,7 +577,7 @@ static void sn_topology_stop(struct seq_file *m, void *v) ...@@ -577,7 +577,7 @@ static void sn_topology_stop(struct seq_file *m, void *v)
/* /*
* /proc/sgi_sn/sn_topology, read-only using seq_file * /proc/sgi_sn/sn_topology, read-only using seq_file
*/ */
static struct seq_operations sn_topology_seq_ops = { static const struct seq_operations sn_topology_seq_ops = {
.start = sn_topology_start, .start = sn_topology_start,
.next = sn_topology_next, .next = sn_topology_next,
.stop = sn_topology_stop, .stop = sn_topology_stop,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment