From: Jan Engelhardt Date: Tue, 22 Jan 2008 19:42:33 +0000 (+0100) Subject: [MIPS]: constify function pointer tables X-Git-Tag: v3.12-rc1~24054^2~17 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=12323cacca2014dcf517d1988fcdb8e44a1f497b;p=kernel%2Fkernel-generic.git [MIPS]: constify function pointer tables Signed-off-by: Jan Engelhardt Signed-off-by: Ralf Baechle --- diff --git a/arch/mips/basler/excite/excite_iodev.c b/arch/mips/basler/excite/excite_iodev.c index 6af0b21..476d20e 100644 --- a/arch/mips/basler/excite/excite_iodev.c +++ b/arch/mips/basler/excite/excite_iodev.c @@ -48,7 +48,7 @@ static DECLARE_WAIT_QUEUE_HEAD(wq); -static struct file_operations fops = +static const struct file_operations fops = { .owner = THIS_MODULE, .open = iodev_open, diff --git a/arch/mips/kernel/proc.c b/arch/mips/kernel/proc.c index 34dd228..36f0653 100644 --- a/arch/mips/kernel/proc.c +++ b/arch/mips/kernel/proc.c @@ -90,7 +90,7 @@ static void c_stop(struct seq_file *m, void *v) { } -struct seq_operations cpuinfo_op = { +const struct seq_operations cpuinfo_op = { .start = c_start, .next = c_next, .stop = c_stop,