[PATCH -mm] Mark ppc_htab_operations as const

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Signed-off-by: Alexey Dobriyan <[email protected]>
---

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

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux