Messages in this thread Patch in this message | | | Date | Wed, 25 Jan 2006 12:26:19 +0300 | From | Alexey Dobriyan <> | 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/
| |