lkml.org 
[lkml]   [2006]   [Jan]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH -mm] Mark ppc_htab_operations as const
arch/ppc/kernel/ppc_htab.c:55: error conflicting types for 'ppc_htab_operations'

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
---

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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-01-25 10:11    [W:0.277 / U:0.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site