diff options
Diffstat (limited to 'include/media/soc_camera.h')
| -rw-r--r-- | include/media/soc_camera.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/media/soc_camera.h b/include/media/soc_camera.h index cad374bdcf4b..d865dcf9879f 100644 --- a/include/media/soc_camera.h +++ b/include/media/soc_camera.h | |||
| @@ -56,11 +56,15 @@ struct soc_camera_device { | |||
| 56 | }; | 56 | }; |
| 57 | }; | 57 | }; |
| 58 | 58 | ||
| 59 | /* Host supports programmable stride */ | ||
| 60 | #define SOCAM_HOST_CAP_STRIDE (1 << 0) | ||
| 61 | |||
| 59 | struct soc_camera_host { | 62 | struct soc_camera_host { |
| 60 | struct v4l2_device v4l2_dev; | 63 | struct v4l2_device v4l2_dev; |
| 61 | struct list_head list; | 64 | struct list_head list; |
| 62 | struct mutex host_lock; /* Protect during probing */ | 65 | struct mutex host_lock; /* Protect during probing */ |
| 63 | unsigned char nr; /* Host number */ | 66 | unsigned char nr; /* Host number */ |
| 67 | u32 capabilities; | ||
| 64 | void *priv; | 68 | void *priv; |
| 65 | const char *drv_name; | 69 | const char *drv_name; |
| 66 | struct soc_camera_host_ops *ops; | 70 | struct soc_camera_host_ops *ops; |
| @@ -98,7 +102,7 @@ struct soc_camera_host_ops { | |||
| 98 | int (*set_bus_param)(struct soc_camera_device *); | 102 | int (*set_bus_param)(struct soc_camera_device *); |
| 99 | int (*get_parm)(struct soc_camera_device *, struct v4l2_streamparm *); | 103 | int (*get_parm)(struct soc_camera_device *, struct v4l2_streamparm *); |
| 100 | int (*set_parm)(struct soc_camera_device *, struct v4l2_streamparm *); | 104 | int (*set_parm)(struct soc_camera_device *, struct v4l2_streamparm *); |
| 101 | int (*enum_fsizes)(struct soc_camera_device *, struct v4l2_frmsizeenum *); | 105 | int (*enum_framesizes)(struct soc_camera_device *, struct v4l2_frmsizeenum *); |
| 102 | unsigned int (*poll)(struct file *, poll_table *); | 106 | unsigned int (*poll)(struct file *, poll_table *); |
| 103 | }; | 107 | }; |
| 104 | 108 | ||
