]> Pileus Git - ~andy/linux/blob - include/media/soc_camera_platform.h
V4L/DVB (12504): soc-camera: prepare soc_camera_platform.c and its users for conversion
[~andy/linux] / include / media / soc_camera_platform.h
1 /*
2  * Generic Platform Camera Driver Header
3  *
4  * Copyright (C) 2008 Magnus Damm
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License version 2 as
8  * published by the Free Software Foundation.
9  */
10
11 #ifndef __SOC_CAMERA_H__
12 #define __SOC_CAMERA_H__
13
14 #include <linux/videodev2.h>
15 #include <media/soc_camera.h>
16
17 struct soc_camera_platform_info {
18         int iface;
19         char *format_name;
20         unsigned long format_depth;
21         struct v4l2_pix_format format;
22         unsigned long bus_param;
23         void (*power)(int);
24         int (*set_capture)(struct soc_camera_platform_info *info, int enable);
25         struct soc_camera_link link;
26 };
27
28 #endif /* __SOC_CAMERA_H__ */