diff options
author | Marcin Slusarz <marcin.slusarz@gmail.com> | 2010-10-20 21:50:24 +0200 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2010-12-03 15:11:07 +1000 |
commit | 382d62e524db528cdf53563ad9a018adc170dfde (patch) | |
tree | 84a7268a64ce58a4dfe533b4e3a5cef79b883053 /drivers/watchdog/indydog.c | |
parent | 5f80198e43cf96542923269ccb607052e5f144cc (diff) | |
download | blackbird-op-linux-382d62e524db528cdf53563ad9a018adc170dfde.tar.gz blackbird-op-linux-382d62e524db528cdf53563ad9a018adc170dfde.zip |
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 <marcin.slusarz@gmail.com>
Signed-off-by: Francisco Jerez <currojerez@riseup.net>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/watchdog/indydog.c')
0 files changed, 0 insertions, 0 deletions