summaryrefslogtreecommitdiffstats
path: root/drivers/media/platform/soc_camera/Makefile
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>2013-04-25 08:18:45 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-06-28 15:03:16 -0300
commit22e0099ac9a968a4a67fc681864a9ff453bd929f (patch)
tree33427ab1f10c5f59accfa49899df98a89169efac /drivers/media/platform/soc_camera/Makefile
parenteca430c83d3b63df52024d114b7641bd03482f38 (diff)
downloadblackbird-op-linux-22e0099ac9a968a4a67fc681864a9ff453bd929f.tar.gz
blackbird-op-linux-22e0099ac9a968a4a67fc681864a9ff453bd929f.zip
[media] V4L2: soc-camera: move generic functions into a separate file
The sh_mobile_ceu_camera driver implements a generic algorithm for setting up an optimal client and host scaling and cropping configuration. This patch makes those functions available for all drivers. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/platform/soc_camera/Makefile')
-rw-r--r--drivers/media/platform/soc_camera/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/media/platform/soc_camera/Makefile b/drivers/media/platform/soc_camera/Makefile
index bedb0428852b..39186224c16a 100644
--- a/drivers/media/platform/soc_camera/Makefile
+++ b/drivers/media/platform/soc_camera/Makefile
@@ -1,4 +1,8 @@
obj-$(CONFIG_SOC_CAMERA) += soc_camera.o soc_mediabus.o
+obj-$(CONFIG_SOC_CAMERA_SCALE_CROP) += soc_scale_crop.o
+
+# a platform subdevice driver stub, allowing to support cameras by adding a
+# couple of callback functions to the board code
obj-$(CONFIG_SOC_CAMERA_PLATFORM) += soc_camera_platform.o
# soc-camera host drivers have to be linked after camera drivers
OpenPOWER on IntegriCloud