diff options
Diffstat (limited to 'include/media/v4l2-common.h')
-rw-r--r-- | include/media/v4l2-common.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/include/media/v4l2-common.h b/include/media/v4l2-common.h index 0c195ccd45d2..2f8719abf5cb 100644 --- a/include/media/v4l2-common.h +++ b/include/media/v4l2-common.h | |||
@@ -225,18 +225,22 @@ struct v4l2_crystal_freq { | |||
225 | An extra flags field allows device specific configuration regarding | 225 | An extra flags field allows device specific configuration regarding |
226 | clock frequency dividers, etc. If not used, then set flags to 0. | 226 | clock frequency dividers, etc. If not used, then set flags to 0. |
227 | If the frequency is not supported, then -EINVAL is returned. */ | 227 | If the frequency is not supported, then -EINVAL is returned. */ |
228 | #define VIDIOC_INT_S_CRYSTAL_FREQ _IOW ('d', 113, struct v4l2_crystal_freq) | 228 | #define VIDIOC_INT_S_CRYSTAL_FREQ _IOW('d', 113, struct v4l2_crystal_freq) |
229 | 229 | ||
230 | /* Initialize the sensor registors to some sort of reasonable | 230 | /* Initialize the sensor registors to some sort of reasonable |
231 | default values. */ | 231 | default values. */ |
232 | #define VIDIOC_INT_INIT _IOW ('d', 114, u32) | 232 | #define VIDIOC_INT_INIT _IOW('d', 114, u32) |
233 | 233 | ||
234 | /* Set v4l2_std_id for video OUTPUT devices. This is ignored by | 234 | /* Set v4l2_std_id for video OUTPUT devices. This is ignored by |
235 | video input devices. */ | 235 | video input devices. */ |
236 | #define VIDIOC_INT_S_STD_OUTPUT _IOW ('d', 115, v4l2_std_id) | 236 | #define VIDIOC_INT_S_STD_OUTPUT _IOW('d', 115, v4l2_std_id) |
237 | 237 | ||
238 | /* Get v4l2_std_id for video OUTPUT devices. This is ignored by | 238 | /* Get v4l2_std_id for video OUTPUT devices. This is ignored by |
239 | video input devices. */ | 239 | video input devices. */ |
240 | #define VIDIOC_INT_G_STD_OUTPUT _IOW ('d', 116, v4l2_std_id) | 240 | #define VIDIOC_INT_G_STD_OUTPUT _IOW('d', 116, v4l2_std_id) |
241 | |||
242 | /* Set GPIO pins. Very simple right now, might need to be extended with | ||
243 | a v4l2_gpio struct if a direction is also needed. */ | ||
244 | #define VIDIOC_INT_S_GPIO _IOW('d', 117, u32) | ||
241 | 245 | ||
242 | #endif /* V4L2_COMMON_H_ */ | 246 | #endif /* V4L2_COMMON_H_ */ |