nouveau: return nouveau_screen from hw-specific creation functions
authorBen Skeggs <bskeggs@redhat.com>
Thu, 26 Nov 2015 04:24:42 +0000 (14:24 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 22 Dec 2015 03:24:03 +0000 (13:24 +1000)
commit6c1bfff66ca6dd9dac11507889ee17987bed31cb
treea7d13f0e8e06e63c1a9665f3236a78d2cd299e6d
parent1a9ec8e062f597fd4e4905602adc7c2e507c525f
nouveau: return nouveau_screen from hw-specific creation functions

Kills off a void cast.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Tested-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/gallium/drivers/nouveau/nouveau_winsys.h
src/gallium/drivers/nouveau/nv30/nv30_screen.c
src/gallium/drivers/nouveau/nv50/nv50_screen.c
src/gallium/drivers/nouveau/nvc0/nvc0_screen.c
src/gallium/winsys/nouveau/drm/nouveau_drm_winsys.c