aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
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 80e1193c07d5..6a8c8be7a1ae 100644
--- a/include/media/soc_camera.h
+++ b/include/media/soc_camera.h
@@ -48,6 +48,7 @@ struct soc_camera_device {
48struct soc_camera_file { 48struct soc_camera_file {
49 struct soc_camera_device *icd; 49 struct soc_camera_device *icd;
50 struct videobuf_queue vb_vidq; 50 struct videobuf_queue vb_vidq;
51 spinlock_t *lock;
51}; 52};
52 53
53struct soc_camera_host { 54struct soc_camera_host {
@@ -73,6 +74,8 @@ struct soc_camera_host_ops {
73 int (*try_bus_param)(struct soc_camera_device *, __u32); 74 int (*try_bus_param)(struct soc_camera_device *, __u32);
74 int (*set_bus_param)(struct soc_camera_device *, __u32); 75 int (*set_bus_param)(struct soc_camera_device *, __u32);
75 unsigned int (*poll)(struct file *, poll_table *); 76 unsigned int (*poll)(struct file *, poll_table *);
77 spinlock_t* (*spinlock_alloc)(struct soc_camera_file *);
78 void (*spinlock_free)(spinlock_t *);
76}; 79};
77 80
78struct soc_camera_link { 81struct soc_camera_link {