]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
sh: constify function pointer tables
authorJan Engelhardt <jengelh@computergmbh.de>
Wed, 23 Jan 2008 03:47:48 +0000 (12:47 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 28 Jan 2008 04:19:04 +0000 (13:19 +0900)
Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/boards/landisk/gio.c
arch/sh/kernel/setup.c

index a37643d002b2bb09c8ee51a42d82fd6078d5209c..17025080db35ea279903e36910294ceb6b48767b 100644 (file)
@@ -121,7 +121,7 @@ static int gio_ioctl(struct inode *inode, struct file *filp,
        return 0;
 }
 
-static struct file_operations gio_fops = {
+static const struct file_operations gio_fops = {
        .owner = THIS_MODULE,
        .open = gio_open,       /* open */
        .release = gio_close,   /* release */
index 9cf1d2e998bf39a4a17ec6043f5ac574c76a3fb3..855cdf9d85b1867c47dde1974a818f745f6ddb85 100644 (file)
@@ -427,7 +427,7 @@ static void *c_next(struct seq_file *m, void *v, loff_t *pos)
 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,