diff options
author | Jan Engelhardt <jengelh@computergmbh.de> | 2008-02-08 07:21:19 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-08 12:22:38 -0500 |
commit | 03a44825be987d720df854f63b2f7bd30e46bdde (patch) | |
tree | 6ac01a425ff2201db972fd3b836efc9b0ab6eaec /fs/proc/proc_tty.c | |
parent | ec26e11740cdff8c3c8330ea235478704ffb4a71 (diff) |
procfs: constify function pointer tables
Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Mike Frysinger <vapier@gentoo.org>
Acked-By: David Howells <dhowells@redhat.com>
Acked-by: Bryan Wu <bryan.wu@analog.com>
Acked-by: Jesper Nilsson <jesper.nilsson@axis.com>
Cc: <linux-arch@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/proc/proc_tty.c')
-rw-r--r-- | fs/proc/proc_tty.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/proc/proc_tty.c b/fs/proc/proc_tty.c index 34296839b417..49816e00b51a 100644 --- a/fs/proc/proc_tty.c +++ b/fs/proc/proc_tty.c | |||
@@ -117,7 +117,7 @@ static void t_stop(struct seq_file *m, void *v) | |||
117 | mutex_unlock(&tty_mutex); | 117 | mutex_unlock(&tty_mutex); |
118 | } | 118 | } |
119 | 119 | ||
120 | static struct seq_operations tty_drivers_op = { | 120 | static const struct seq_operations tty_drivers_op = { |
121 | .start = t_start, | 121 | .start = t_start, |
122 | .next = t_next, | 122 | .next = t_next, |
123 | .stop = t_stop, | 123 | .stop = t_stop, |