From: Marcin Slusarz Date: Wed, 20 Oct 2010 19:50:24 +0000 (+0200) Subject: drm/nouveau: fix annoying nouveau_fence type issue X-Git-Tag: v2.6.38-rc1~419^2~37^2~53 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=382d62e524db528cdf53563ad9a018adc170dfde;p=pandora-kernel.git drm/nouveau: fix annoying nouveau_fence type issue nouveau_fence_* functions are not type safe, which could lead to bugs. Additionally every use of nouveau_fence_unref had to cast struct nouveau_fence to void **. Fix it by renaming old functions and creating static inline functions with new prototypes. We still need old functions, because we pass function pointers to ttm. As we are wrapping functions, drop unused "void *arg" parameter where possible. Signed-off-by: Marcin Slusarz Signed-off-by: Francisco Jerez Signed-off-by: Ben Skeggs --- Reading git-diff-tree failed