diff options
Diffstat (limited to 'drivers/gpu/drm/arm/hdlcd_crtc.c')
-rw-r--r-- | drivers/gpu/drm/arm/hdlcd_crtc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/arm/hdlcd_crtc.c b/drivers/gpu/drm/arm/hdlcd_crtc.c index ecdcd99c92cc..20ebfb4fbdfa 100644 --- a/drivers/gpu/drm/arm/hdlcd_crtc.c +++ b/drivers/gpu/drm/arm/hdlcd_crtc.c | |||
@@ -65,7 +65,7 @@ static int hdlcd_set_pxl_fmt(struct drm_crtc *crtc) | |||
65 | struct simplefb_format *format = NULL; | 65 | struct simplefb_format *format = NULL; |
66 | int i; | 66 | int i; |
67 | 67 | ||
68 | pixel_format = fb->pixel_format; | 68 | pixel_format = fb->format->format; |
69 | 69 | ||
70 | for (i = 0; i < ARRAY_SIZE(supported_formats); i++) { | 70 | for (i = 0; i < ARRAY_SIZE(supported_formats); i++) { |
71 | if (supported_formats[i].fourcc == pixel_format) | 71 | if (supported_formats[i].fourcc == pixel_format) |