Commit 872e2be7c4056496c2871bd9b0f2fae6c374fe47

Authored by Jan Engelhardt
Committed by David S. Miller
1 parent 2ad913babd

[SPARC]: Constify function pointer tables.

Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>
Signed-off-by: David S. Miller <davem@davemloft.net>

Showing 4 changed files with 4 additions and 4 deletions Side-by-side Diff

arch/sparc/kernel/setup.c
... ... @@ -379,7 +379,7 @@
379 379 {
380 380 }
381 381  
382   -struct seq_operations cpuinfo_op = {
  382 +const struct seq_operations cpuinfo_op = {
383 383 .start =c_start,
384 384 .next = c_next,
385 385 .stop = c_stop,
arch/sparc64/kernel/setup.c
... ... @@ -421,7 +421,7 @@
421 421 {
422 422 }
423 423  
424   -struct seq_operations cpuinfo_op = {
  424 +const struct seq_operations cpuinfo_op = {
425 425 .start =c_start,
426 426 .next = c_next,
427 427 .stop = c_stop,
arch/sparc64/solaris/socksys.c
... ... @@ -54,7 +54,7 @@
54 54  
55 55 static unsigned int (*sock_poll)(struct file *, poll_table *);
56 56  
57   -static struct file_operations socksys_file_ops = {
  57 +static const struct file_operations socksys_file_ops = {
58 58 /* Currently empty */
59 59 };
60 60  
fs/openpromfs/inode.c
... ... @@ -131,7 +131,7 @@
131 131 /* Nothing to do */
132 132 }
133 133  
134   -static struct seq_operations property_op = {
  134 +static const struct seq_operations property_op = {
135 135 .start = property_start,
136 136 .next = property_next,
137 137 .stop = property_stop,