diff options
author | Daniel Vetter <[email protected]> | 2016-08-10 18:52:34 +0200 |
---|---|---|
committer | Daniel Vetter <[email protected]> | 2016-08-12 10:41:18 +0200 |
commit | 44adece57e2604cec8527a499b48e4d584ab53b8 (patch) | |
tree | d8d9bb2e27c2a8b4da7575ed540b067ca014c62c /drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c | |
parent | e24165537312723e2900831dd6e7415b8d85278c (diff) |
drm/fb-helper: Add a dummy remove_conflicting_framebuffers
Lots of drivers don't properly compile without this when CONFIG_FB=n.
It's kinda a hack, but since CONFIG_FB doesn't stub any fucntions when
it's disabled I think it makes sense to add it to drm_fb_helper.h.
Long term we probably need to rethink all the logic to unload firmware
framebuffer drivers, at least if we want to be able to move away from
CONFIG_FB and fbcon.
v2: Unfortunately just stubbing out remove_conflicting_framebuffers in
drm_fb_helper.h upset gcc about static vs. non-static declarations, so
a new wrapper it needs to be. Means more churn :(
Cc: Tobias Jakobi <[email protected]>
Cc: Noralf Trønnes <[email protected]>
Cc: [email protected]
Cc: [email protected]
Reviewed-by: Alex Deucher <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c')
0 files changed, 0 insertions, 0 deletions