Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=12323cacca2014dcf517d1988fcdb8e44a1f497b Commit: 12323cacca2014dcf517d1988fcdb8e44a1f497b Parent: d4e9cffa161da806cb4bc9df4a4e49d287156bfa Author: Jan Engelhardt <[EMAIL PROTECTED]> AuthorDate: Tue Jan 22 20:42:33 2008 +0100 Committer: Ralf Baechle <[EMAIL PROTECTED]> CommitDate: Tue Jan 29 10:15:03 2008 +0000
[MIPS]: constify function pointer tables Signed-off-by: Jan Engelhardt <[EMAIL PROTECTED]> Signed-off-by: Ralf Baechle <[EMAIL PROTECTED]> --- arch/mips/basler/excite/excite_iodev.c | 2 +- arch/mips/kernel/proc.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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, - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html