diff options
author | Jan Engelhardt <jengelh@computergmbh.de> | 2008-01-22 14:42:07 -0500 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2008-02-04 18:09:11 -0500 |
commit | a23fe55e132cd85108ab55b3fafb4b5060d847c7 (patch) | |
tree | ba0dfa1f02a6724a09b69968d3c998f8a8198a44 | |
parent | 0df29025fd0379d5950d206314d0b10a2c8a9607 (diff) |
[IA64] constify function pointer tables
Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>
Signed-off-by: Tony Luck <tony.luck@intel.com>
-rw-r--r-- | arch/ia64/hp/common/sba_iommu.c | 2 | ||||
-rw-r--r-- | arch/ia64/kernel/perfmon.c | 2 | ||||
-rw-r--r-- | arch/ia64/kernel/setup.c | 2 | ||||
-rw-r--r-- | arch/ia64/sn/kernel/sn2/sn2_smp.c | 2 | ||||
-rw-r--r-- | arch/ia64/sn/kernel/sn2/sn_hwperf.c | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/arch/ia64/hp/common/sba_iommu.c b/arch/ia64/hp/common/sba_iommu.c index 45bf04eb7d70..8c0ae4f20f7e 100644 --- a/arch/ia64/hp/common/sba_iommu.c +++ b/arch/ia64/hp/common/sba_iommu.c | |||
@@ -1871,7 +1871,7 @@ ioc_show(struct seq_file *s, void *v) | |||
1871 | return 0; | 1871 | return 0; |
1872 | } | 1872 | } |
1873 | 1873 | ||
1874 | static struct seq_operations ioc_seq_ops = { | 1874 | static const struct seq_operations ioc_seq_ops = { |
1875 | .start = ioc_start, | 1875 | .start = ioc_start, |
1876 | .next = ioc_next, | 1876 | .next = ioc_next, |
1877 | .stop = ioc_stop, | 1877 | .stop = ioc_stop, |
diff --git a/arch/ia64/kernel/perfmon.c b/arch/ia64/kernel/perfmon.c index 5ae177f557d8..48e560922be6 100644 --- a/arch/ia64/kernel/perfmon.c +++ b/arch/ia64/kernel/perfmon.c | |||
@@ -5795,7 +5795,7 @@ pfm_proc_show(struct seq_file *m, void *v) | |||
5795 | return 0; | 5795 | return 0; |
5796 | } | 5796 | } |
5797 | 5797 | ||
5798 | struct seq_operations pfm_seq_ops = { | 5798 | const struct seq_operations pfm_seq_ops = { |
5799 | .start = pfm_proc_start, | 5799 | .start = pfm_proc_start, |
5800 | .next = pfm_proc_next, | 5800 | .next = pfm_proc_next, |
5801 | .stop = pfm_proc_stop, | 5801 | .stop = pfm_proc_stop, |
diff --git a/arch/ia64/kernel/setup.c b/arch/ia64/kernel/setup.c index 86028c69861e..ebd1a09f3201 100644 --- a/arch/ia64/kernel/setup.c +++ b/arch/ia64/kernel/setup.c | |||
@@ -654,7 +654,7 @@ c_stop (struct seq_file *m, void *v) | |||
654 | { | 654 | { |
655 | } | 655 | } |
656 | 656 | ||
657 | struct seq_operations cpuinfo_op = { | 657 | const struct seq_operations cpuinfo_op = { |
658 | .start = c_start, | 658 | .start = c_start, |
659 | .next = c_next, | 659 | .next = c_next, |
660 | .stop = c_stop, | 660 | .stop = c_stop, |
diff --git a/arch/ia64/sn/kernel/sn2/sn2_smp.c b/arch/ia64/sn/kernel/sn2/sn2_smp.c index f3c69329e145..dfc6bf1c7b41 100644 --- a/arch/ia64/sn/kernel/sn2/sn2_smp.c +++ b/arch/ia64/sn/kernel/sn2/sn2_smp.c | |||
@@ -523,7 +523,7 @@ static ssize_t sn2_ptc_proc_write(struct file *file, const char __user *user, si | |||
523 | return count; | 523 | return count; |
524 | } | 524 | } |
525 | 525 | ||
526 | static struct seq_operations sn2_ptc_seq_ops = { | 526 | static const struct seq_operations sn2_ptc_seq_ops = { |
527 | .start = sn2_ptc_seq_start, | 527 | .start = sn2_ptc_seq_start, |
528 | .next = sn2_ptc_seq_next, | 528 | .next = sn2_ptc_seq_next, |
529 | .stop = sn2_ptc_seq_stop, | 529 | .stop = sn2_ptc_seq_stop, |
diff --git a/arch/ia64/sn/kernel/sn2/sn_hwperf.c b/arch/ia64/sn/kernel/sn2/sn_hwperf.c index 1a8e49607f11..ca882744d753 100644 --- a/arch/ia64/sn/kernel/sn2/sn_hwperf.c +++ b/arch/ia64/sn/kernel/sn2/sn_hwperf.c | |||
@@ -577,7 +577,7 @@ static void sn_topology_stop(struct seq_file *m, void *v) | |||
577 | /* | 577 | /* |
578 | * /proc/sgi_sn/sn_topology, read-only using seq_file | 578 | * /proc/sgi_sn/sn_topology, read-only using seq_file |
579 | */ | 579 | */ |
580 | static struct seq_operations sn_topology_seq_ops = { | 580 | static const struct seq_operations sn_topology_seq_ops = { |
581 | .start = sn_topology_start, | 581 | .start = sn_topology_start, |
582 | .next = sn_topology_next, | 582 | .next = sn_topology_next, |
583 | .stop = sn_topology_stop, | 583 | .stop = sn_topology_stop, |