aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/vc04_services/Makefile
diff options
context:
space:
mode:
authorJacopo Mondi <jacopo@jmondi.org>2020-06-23 18:41:47 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-06-25 16:32:29 +0200
commitb18ee53ad297264a79cf4ea566663f20786b6455 (patch)
tree77d9223c324a387b06f8c63fd607aac9c2ce588a /drivers/staging/vc04_services/Makefile
parenttrivial: staging: vc04_services: replace bitshift with BIT macro (diff)
downloadlinux-dev-b18ee53ad297264a79cf4ea566663f20786b6455.tar.xz
linux-dev-b18ee53ad297264a79cf4ea566663f20786b6455.zip
staging: bcm2835: Break MMAL support out from camera
The BCM2835 camera host is currently the only component that uses the VCHIQ MMAL interface. This will soon change with the upporting of BCM2835 ISP, which make use of the same interface. Break VCHIQ MMAL interface support out from camera host directory to make it possible for the ISP driver to use it as well. The only modification to the existing mmal code is the introduction of EXPORT_SYMBOL() for symbols required by bcm2835-camera and the addition of the module author and licenses. Signed-off-by: Jacopo Mondi <jacopo@jmondi.org> Signed-off-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de> Link: https://lore.kernel.org/r/20200623164235.29566-2-nsaenzjulienne@suse.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vc04_services/Makefile')
-rw-r--r--drivers/staging/vc04_services/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/staging/vc04_services/Makefile b/drivers/staging/vc04_services/Makefile
index 54d9e2f31916..d37f21d1a219 100644
--- a/drivers/staging/vc04_services/Makefile
+++ b/drivers/staging/vc04_services/Makefile
@@ -10,8 +10,9 @@ vchiq-objs := \
interface/vchiq_arm/vchiq_util.o \
interface/vchiq_arm/vchiq_connected.o \
-obj-$(CONFIG_SND_BCM2835) += bcm2835-audio/
-obj-$(CONFIG_VIDEO_BCM2835) += bcm2835-camera/
+obj-$(CONFIG_SND_BCM2835) += bcm2835-audio/
+obj-$(CONFIG_VIDEO_BCM2835) += bcm2835-camera/
+obj-$(CONFIG_BCM2835_VCHIQ_MMAL) += vchiq-mmal/
ccflags-y += -D__VCCOREVER__=0x04000000