Skip to content
Commit a65eb01f authored by Noralf Trønnes's avatar Noralf Trønnes
Browse files

drm/fb-helper: Set/clear dev->fb_helper in dummy init/fini



Set dev->fb_helper even when fbdev emulation is compiled out,
so drivers can use it to free the structure.
Clear it for consistency.

Fixes: 29ad20b2 ("drm: Add drm_device->fb_helper pointer")
Signed-off-by: default avatarNoralf Trønnes <noralf@tronnes.org>
Reviewed-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20171215175119.36181-2-noralf@tronnes.org
parent eb393dbc
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment