Skip to content

Commit 9901875

Browse files
committed
Merge tag 'drm-misc-fixes-2018-07-13' of git://anongit.freedesktop.org/drm/drm-misc into drm-fixes
Fixes for v4.18-rc5: - Single fix for a build error when the driver is builtin, but the backend is a loadable module. Signed-off-by: Dave Airlie <airlied@redhat.com> Link: https://patchwork.freedesktop.org/patch/msgid/9c596cf5-3f24-070e-74f2-c59bfbaf68fa@linux.intel.com
2 parents 2757de4 + 3156b53 commit 9901875

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎drivers/gpu/drm/sun4i/Makefile‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,10 @@ obj-$(CONFIG_DRM_SUN4I) += sun4i-tcon.o
3232
obj-$(CONFIG_DRM_SUN4I) += sun4i_tv.o
3333
obj-$(CONFIG_DRM_SUN4I) += sun6i_drc.o
3434

35-
obj-$(CONFIG_DRM_SUN4I_BACKEND) += sun4i-backend.o sun4i-frontend.o
35+
obj-$(CONFIG_DRM_SUN4I_BACKEND) += sun4i-backend.o
36+
ifdef CONFIG_DRM_SUN4I_BACKEND
37+
obj-$(CONFIG_DRM_SUN4I) += sun4i-frontend.o
38+
endif
3639
obj-$(CONFIG_DRM_SUN4I_HDMI) += sun4i-drm-hdmi.o
3740
obj-$(CONFIG_DRM_SUN6I_DSI) += sun6i-dsi.o
3841
obj-$(CONFIG_DRM_SUN8I_DW_HDMI) += sun8i-drm-hdmi.o

0 commit comments

Comments
 (0)