diff options
Diffstat (limited to 'include/media/soc_camera_platform.h')
-rw-r--r-- | include/media/soc_camera_platform.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/include/media/soc_camera_platform.h b/include/media/soc_camera_platform.h new file mode 100644 index 000000000000..851f18220984 --- /dev/null +++ b/include/media/soc_camera_platform.h | |||
@@ -0,0 +1,15 @@ | |||
1 | #ifndef __SOC_CAMERA_H__ | ||
2 | #define __SOC_CAMERA_H__ | ||
3 | |||
4 | #include <linux/videodev2.h> | ||
5 | |||
6 | struct soc_camera_platform_info { | ||
7 | int iface; | ||
8 | char *format_name; | ||
9 | unsigned long format_depth; | ||
10 | struct v4l2_pix_format format; | ||
11 | unsigned long bus_param; | ||
12 | int (*set_capture)(struct soc_camera_platform_info *info, int enable); | ||
13 | }; | ||
14 | |||
15 | #endif /* __SOC_CAMERA_H__ */ | ||