drm/radeon/kms: fix use of index before proper initialisation.
authorDave Airlie <airlied@redhat.com>
Mon, 12 Oct 2009 04:21:19 +0000 (14:21 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 12 Oct 2009 04:21:42 +0000 (14:21 +1000)
commit39deb2d67515086f08a672e7574716ca0d3883a5
treed80d9d99f5f6628c8229c0900a41001ac187ce82
parentceeb50279b3d05eb7ea2b67e90acb2110d09325f
drm/radeon/kms: fix use of index before proper initialisation.

With the adjust table introduction, we need to fill out index
before getting the table version.

Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/atombios_crtc.c