diff options
author | Dave Airlie <airlied@redhat.com> | 2012-03-20 06:59:29 +0000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-03-20 06:59:29 +0000 |
commit | 9c1dfc5574a7f7115c0fe5bd8f838a8b7a52ee6d (patch) | |
tree | 20c88bf1d10c03200b8ce6d3880d51e1325506d5 /drivers/gpu/drm/Makefile | |
parent | 2de6d4a9e46c9bb038e9970628ed4b8e199ffda3 (diff) | |
download | op-kernel-dev-9c1dfc5574a7f7115c0fe5bd8f838a8b7a52ee6d.zip op-kernel-dev-9c1dfc5574a7f7115c0fe5bd8f838a8b7a52ee6d.tar.gz |
drm/usb: move usb support into a separate module
In order to satisfy all the various Kconfig options between
USB and DRM, we need to split the USB code out into a separate module
and export symbols to it.
This fixes build problems in -next reported by sfr.
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/Makefile')
-rw-r--r-- | drivers/gpu/drm/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gpu/drm/Makefile b/drivers/gpu/drm/Makefile index ed407cc..3b8be89 100644 --- a/drivers/gpu/drm/Makefile +++ b/drivers/gpu/drm/Makefile @@ -14,9 +14,10 @@ drm-y := drm_auth.o drm_buffer.o drm_bufs.o drm_cache.o \ drm_info.o drm_debugfs.o drm_encoder_slave.o \ drm_trace_points.o drm_global.o -drm-$(CONFIG_USB) += drm_usb.o drm-$(CONFIG_COMPAT) += drm_ioc32.o +drm-usb-y := drm_usb.o + drm_kms_helper-y := drm_fb_helper.o drm_crtc_helper.o drm_dp_i2c_helper.o obj-$(CONFIG_DRM_KMS_HELPER) += drm_kms_helper.o @@ -24,6 +25,7 @@ obj-$(CONFIG_DRM_KMS_HELPER) += drm_kms_helper.o CFLAGS_drm_trace_points.o := -I$(src) obj-$(CONFIG_DRM) += drm.o +obj-$(CONFIG_DRM_USB) += drm_usb.o obj-$(CONFIG_DRM_TTM) += ttm/ obj-$(CONFIG_DRM_TDFX) += tdfx/ obj-$(CONFIG_DRM_R128) += r128/ |