[PATCH -mm] Mark ppc_htab_operations as const

From: Alexey Dobriyan
Date: Wed Jan 25 2006 - 04:07:20 EST


arch/ppc/kernel/ppc_htab.c:55: error conflicting types for 'ppc_htab_operations'

Signed-off-by: Alexey Dobriyan <adobriyan@xxxxxxxxx>
---

Moving ppc event horizon on l4x.org/k/ further.

arch/ppc/kernel/ppc_htab.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- a/arch/ppc/kernel/ppc_htab.c
+++ b/arch/ppc/kernel/ppc_htab.c
@@ -52,7 +52,7 @@ static int ppc_htab_open(struct inode *i
return single_open(file, ppc_htab_show, NULL);
}

-struct file_operations ppc_htab_operations = {
+const struct file_operations ppc_htab_operations = {
.open = ppc_htab_open,
.read = seq_read,
.llseek = seq_lseek,

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/