drm/sti: Fix compilation failure for drm_framebuffer.pixel_format
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 25 Jan 2017 10:10:44 +0000 (10:10 +0000)
committerDave Airlie <airlied@redhat.com>
Fri, 27 Jan 2017 02:54:15 +0000 (12:54 +1000)
commita5b2b6ebf34b20e70a2bdb5214c371744e7fa260
tree315344d6d47f1019ea35ca9de7bc7458fbe9249c
parent3875623c561f9e83181d9621e0a963ed457c4bf6
drm/sti: Fix compilation failure for drm_framebuffer.pixel_format

drivers/gpu/drm/sti/sti_plane.c:76:33: error: ‘struct drm_framebuffer’
has no member named ‘pixel_format’; did you mean ‘format’?

I didn't look to hard at the casting to a char * and just did a
mechanical transformation of s/pixel_format/format->format/ as given in
commit 438b74a5497c ("drm: Nuke fb->pixel_format").

Fixes: 438b74a5497c ("drm: Nuke fb->pixel_format")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Benjamin Gaignard <benjamin.gaignard@linaro.org>
Cc: Vincent Abriou <vincent.abriou@st.com>
Acked-by: Vincent Abriou <vincent.abriou@st.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/sti/sti_plane.c