drm/radeon/kms: Fix NULL ptr dereference
authorJerome Glisse <jglisse@redhat.com>
Wed, 9 Dec 2009 16:39:16 +0000 (17:39 +0100)
committerDave Airlie <airlied@redhat.com>
Thu, 10 Dec 2009 05:09:06 +0000 (15:09 +1000)
radeon_atombios_fini might be call while there is not valid
atombios structure allocated, thus test for a not null ptr
before trying to access this structure.

Signed-off-by: Jerome Glisse <jglisse@redhat.com>
Signed-off-by: Dave Airlie <airlied@linux.ie>

No differences found