]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
drm: msm: Fix build when legacy fbdev support isn't set
authorArchit Taneja <architt@codeaurora.org>
Mon, 23 Feb 2015 10:29:21 +0000 (15:59 +0530)
committerRob Clark <robdclark@gmail.com>
Thu, 14 May 2015 15:25:09 +0000 (11:25 -0400)
commita2ca77898e9b81f6d6b3bfa1ff46713e697e8af7
tree4d0cbb8caad1263b080d3d3cb93f90a848ec8999
parent981371f326235e07e33f62b4196d1e04603f6a49
drm: msm: Fix build when legacy fbdev support isn't set

The DRM_KMS_FB_HELPER config is selected only when DRM_MSM_FBDEV config is
selected. The driver accesses drm_fb_helper_* functions even when legacy fbdev
support is disabled in msm. Wrap around these functions with #ifdef checks to
prevent build break.

Signed-off-by: Archit Taneja <architt@codeaurora.org>
drivers/gpu/drm/msm/msm_drv.c