Documentation/sysctl/vm.txt typo
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / include / media / soc_camera_platform.h
blob0ecefe227b767c3894847e1bbb5b7225e5bd6af7
1 /*
2 * Generic Platform Camera Driver Header
4 * Copyright (C) 2008 Magnus Damm
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 */
11 #ifndef __SOC_CAMERA_H__
12 #define __SOC_CAMERA_H__
14 #include <linux/videodev2.h>
15 #include <media/soc_camera.h>
17 struct device;
19 struct soc_camera_platform_info {
20 const char *format_name;
21 unsigned long format_depth;
22 struct v4l2_mbus_framefmt format;
23 unsigned long bus_param;
24 struct device *dev;
25 int (*set_capture)(struct soc_camera_platform_info *info, int enable);
28 #endif /* __SOC_CAMERA_H__ */