drm/kms: fix fb cmap allocation to use modeset->crtc not crtc
authorBen Skeggs <bskeggs@redhat.com>
Tue, 8 Dec 2009 01:15:10 +0000 (11:15 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 8 Dec 2009 01:15:10 +0000 (11:15 +1000)
commitb0a007dc27d8d3ff3db07b3ea997323d9330f770
tree96b614f8e7c139b2142f2deb1f9fb6e98fd0a7df
parent447aeb907e417e0e837b4a4026d5081c88b6e8ca
drm/kms: fix fb cmap allocation to use modeset->crtc not crtc

crtc may be undefined at this point.

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