aboutsummaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>2011-07-01 11:31:35 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-07-27 17:56:08 -0300
commitd33b290a149dafe2e3cc2901ec726bea09a2c0f4 (patch)
tree3669b43f2dc2726f2029ef97d2ee424b70c30a7b /include/media
parent[media] V4L: sh_mobile_csi2: switch away from using the soc-camera bus notifier (diff)
downloadlinux-dev-d33b290a149dafe2e3cc2901ec726bea09a2c0f4.tar.xz
linux-dev-d33b290a149dafe2e3cc2901ec726bea09a2c0f4.zip
[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')
-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 @@
#include <media/videobuf2-core.h>
#include <media/v4l2-device.h>
-extern struct bus_type soc_camera_bus_type;
-
struct file;
struct soc_camera_device {
- struct list_head list;
+ struct list_head list; /* list of all registered devices */
struct device dev;
struct device *pdev; /* Platform device */
s32 user_width;
@@ -126,8 +124,8 @@ struct soc_camera_link {
int num_regulators;
/*
- * For non-I2C devices platform platform has to provide methods to
- * add a device to the system and to remove
+ * For non-I2C devices platform has to provide methods to add a device
+ * to the system and to remove it
*/
int (*add_device)(struct soc_camera_link *, struct device *);
void (*del_device)(struct soc_camera_link *);