aboutsummaryrefslogtreecommitdiffstats
path: root/include/media/soc_camera.h
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>2011-07-01 10:31:35 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-07-27 16:56:08 -0400
commitd33b290a149dafe2e3cc2901ec726bea09a2c0f4 (patch)
tree3669b43f2dc2726f2029ef97d2ee424b70c30a7b /include/media/soc_camera.h
parent6b526fed0e688e3926bd43a09f2f36cba3983ce2 (diff)
[media] V4L: soc-camera: un-export the soc-camera bus
The soc-camera bus is now completely local again. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/media/soc_camera.h')
-rw-r--r--include/media/soc_camera.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/include/media/soc_camera.h b/include/media/soc_camera.h
index 70c4ea5ecc31..c31d55be3e17 100644
--- a/include/media/soc_camera.h
+++ b/include/media/soc_camera.h
@@ -20,12 +20,10 @@
20#include <media/videobuf2-core.h> 20#include <media/videobuf2-core.h>
21#include <media/v4l2-device.h> 21#include <media/v4l2-device.h>
22 22
23extern struct bus_type soc_camera_bus_type;
24
25struct file; 23struct file;
26 24
27struct soc_camera_device { 25struct soc_camera_device {
28 struct list_head list; 26 struct list_head list; /* list of all registered devices */
29 struct device dev; 27 struct device dev;
30 struct device *pdev; /* Platform device */ 28 struct device *pdev; /* Platform device */
31 s32 user_width; 29 s32 user_width;
@@ -126,8 +124,8 @@ struct soc_camera_link {
126 int num_regulators; 124 int num_regulators;
127 125
128 /* 126 /*
129 * For non-I2C devices platform platform has to provide methods to 127 * For non-I2C devices platform has to provide methods to add a device
130 * add a device to the system and to remove 128 * to the system and to remove it
131 */ 129 */
132 int (*add_device)(struct soc_camera_link *, struct device *); 130 int (*add_device)(struct soc_camera_link *, struct device *);
133 void (*del_device)(struct soc_camera_link *); 131 void (*del_device)(struct soc_camera_link *);