[IA64] constify function pointer tables
Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de> Signed-off-by: Tony Luck <tony.luck@intel.com>
This commit is contained in:

committed by
Tony Luck

parent
0df29025fd
commit
a23fe55e13
@@ -523,7 +523,7 @@ static ssize_t sn2_ptc_proc_write(struct file *file, const char __user *user, si
|
||||
return count;
|
||||
}
|
||||
|
||||
static struct seq_operations sn2_ptc_seq_ops = {
|
||||
static const struct seq_operations sn2_ptc_seq_ops = {
|
||||
.start = sn2_ptc_seq_start,
|
||||
.next = sn2_ptc_seq_next,
|
||||
.stop = sn2_ptc_seq_stop,
|
||||
|
@@ -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
|
||||
*/
|
||||
static struct seq_operations sn_topology_seq_ops = {
|
||||
static const struct seq_operations sn_topology_seq_ops = {
|
||||
.start = sn_topology_start,
|
||||
.next = sn_topology_next,
|
||||
.stop = sn_topology_stop,
|
||||
|
Reference in New Issue
Block a user