summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorGuennadi Liakhovetski2010-07-26 16:37:13 +0200
committerMauro Carvalho Chehab2010-08-02 21:43:38 +0200
commit52d268a36246ee4156cc719036522616bb4d73fa (patch)
treed6d21667b2f3938278d1dcd91bbce70fd1fd0158 /include
parentV4L/DVB: V4L2: mediabus: add 12-bit Bayer and YUV420 pixel formats (diff)
downloadkernel-qcow2-linux-52d268a36246ee4156cc719036522616bb4d73fa.tar.gz
kernel-qcow2-linux-52d268a36246ee4156cc719036522616bb4d73fa.tar.xz
kernel-qcow2-linux-52d268a36246ee4156cc719036522616bb4d73fa.zip
V4L/DVB: V4L2: soc-camera: export soc-camera bus type for notifications
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/media/soc_camera.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/media/soc_camera.h b/include/media/soc_camera.h
index b8289c2f609b..2ce957301f77 100644
--- a/include/media/soc_camera.h
+++ b/include/media/soc_camera.h
@@ -12,12 +12,15 @@
#ifndef SOC_CAMERA_H
#define SOC_CAMERA_H
+#include <linux/device.h>
#include <linux/mutex.h>
#include <linux/pm.h>
#include <linux/videodev2.h>
#include <media/videobuf-core.h>
#include <media/v4l2-device.h>
+extern struct bus_type soc_camera_bus_type;
+
struct soc_camera_device {
struct list_head list;
struct device dev;