spi_bfin5xx: use PIO for full duplex, not DMA
[firefly-linux-kernel-4.4.55.git] / drivers / media / Makefile
index 8fa19939c2b6e5878bdfd29158d92a08be3dccf2..73f742c7e818428f1965d880a3c442e71154a957 100644 (file)
@@ -2,7 +2,10 @@
 # Makefile for the kernel multimedia device drivers.
 #
 
-obj-y := common/
-obj-$(CONFIG_VIDEO_DEV) += video/
+obj-$(CONFIG_VIDEO_MEDIA) += common/
+
+# Since hybrid devices are here, should be compiled if DVB and/or V4L
+obj-$(CONFIG_VIDEO_MEDIA) += video/
+
 obj-$(CONFIG_VIDEO_DEV) += radio/
 obj-$(CONFIG_DVB_CORE)  += dvb/