diff options
author | Dave Airlie <airlied@redhat.com> | 2018-07-16 09:50:26 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2018-07-16 09:51:01 +1000 |
commit | 990187537be1136ccd739efa550780ca4ee1a100 (patch) | |
tree | 86b956fa4809255342d260a45adf9e57e00ab741 | |
parent | 2757de4c098616a3da29f149bd2b7f0842989830 (diff) | |
parent | 3156b53c2e2fadafa1a16412a8791b38f94b5bdc (diff) | |
download | lwn-990187537be1136ccd739efa550780ca4ee1a100.tar.gz lwn-990187537be1136ccd739efa550780ca4ee1a100.zip |
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
-rw-r--r-- | drivers/gpu/drm/sun4i/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/gpu/drm/sun4i/Makefile b/drivers/gpu/drm/sun4i/Makefile index 2589f4acd5ae..9c81301d0eed 100644 --- a/drivers/gpu/drm/sun4i/Makefile +++ b/drivers/gpu/drm/sun4i/Makefile @@ -32,7 +32,10 @@ obj-$(CONFIG_DRM_SUN4I) += sun4i-tcon.o obj-$(CONFIG_DRM_SUN4I) += sun4i_tv.o obj-$(CONFIG_DRM_SUN4I) += sun6i_drc.o -obj-$(CONFIG_DRM_SUN4I_BACKEND) += sun4i-backend.o sun4i-frontend.o +obj-$(CONFIG_DRM_SUN4I_BACKEND) += sun4i-backend.o +ifdef CONFIG_DRM_SUN4I_BACKEND +obj-$(CONFIG_DRM_SUN4I) += sun4i-frontend.o +endif obj-$(CONFIG_DRM_SUN4I_HDMI) += sun4i-drm-hdmi.o obj-$(CONFIG_DRM_SUN6I_DSI) += sun6i-dsi.o obj-$(CONFIG_DRM_SUN8I_DW_HDMI) += sun8i-drm-hdmi.o |