summaryrefslogtreecommitdiffstats
path: root/include/media/soc_camera_platform.h
blob: 7c81ad32b1e5ae90b91a758216f91ec7f67ef3c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef __SOC_CAMERA_H__
#define __SOC_CAMERA_H__

#include <linux/videodev2.h>

struct soc_camera_platform_info {
	int iface;
	char *format_name;
	unsigned long format_depth;
	struct v4l2_pix_format format;
	unsigned long bus_param;
	void (*power)(int);
	int (*set_capture)(struct soc_camera_platform_info *info, int enable);
};

#endif /* __SOC_CAMERA_H__ */