[Cbe-oss-dev] [PATCH] spu_priv1: fix compiler warnings

Christoph Hellwig hch at lst.de
Tue May 15 23:04:32 EST 2007


spu_priv1.h has various prototypes containing spu_context pointers,
but no foward declarations for it.  This patch fixes the warnings by
providing a forward declaration.


Signed-off-by: Christoph Hellwig <hch at lst.de>

Index: linux-2.6.20/include/asm-powerpc/spu_priv1.h
===================================================================
--- linux-2.6.20.orig/include/asm-powerpc/spu_priv1.h	2007-05-15 14:17:04.000000000 +0200
+++ linux-2.6.20/include/asm-powerpc/spu_priv1.h	2007-05-15 14:17:18.000000000 +0200
@@ -24,6 +24,7 @@
 #include <linux/types.h>
 
 struct spu;
+struct spu_context;
 
 /* access to priv1 registers */
 



More information about the cbe-oss-dev mailing list