Subject: [PATCH] spufs: const fops

From: Christoph Hellwig <[email-masked]>
Date: Thu, 6 Apr 2006 15:50:23 +0200

file_operations are const post-2.6.16, fix spufs_new_file to propagate
that properly.

Signed-off-by: Christoph Hellwig <[email-masked]>

Index: linux-2.6/arch/powerpc/platforms/cell/spufs/inode.c
===================================================================
--- linux-2.6.orig/arch/powerpc/platforms/cell/spufs/inode.c	2006-04-06 11:48:33.000000000 +0200
+++ linux-2.6/arch/powerpc/platforms/cell/spufs/inode.c	2006-04-06 11:49:53.000000000 +0200
@@ -103,7 +103,7 @@
 
 static int
 spufs_new_file(struct super_block *sb, struct dentry *dentry,
-		struct file_operations *fops, int mode,
+		const struct file_operations *fops, int mode,
 		struct spu_context *ctx)
 {
 	static struct inode_operations spufs_file_iops = {