drm/radeon: fix uninitialized variable
authorChristian König <deathsimple@vodafone.de>
Tue, 28 Feb 2012 22:19:20 +0000 (23:19 +0100)
committerDave Airlie <airlied@redhat.com>
Wed, 29 Feb 2012 10:19:11 +0000 (10:19 +0000)
commit1404547f3a32ffc154dbf6aa30f966f0d2abafb7
tree9502e5fee970a2f98ebb85441d205f713666d458
parentb9b35156987e0c4cffc749c71864051f3dfec8ec
drm/radeon: fix uninitialized variable

Without this fix the driver randomly treats
textures as arrays and I'm really wondering
why gcc isn't complaining about it.

Signed-off-by: Christian König <deathsimple@vodafone.de>
Reviewed-by: Jerome Glisse <jglisse@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/r600_cs.c