diff options
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2009-08-25 10:28:22 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-09-18 23:18:27 -0400 |
commit | 40e2e0927003424c25807b575dd40da2b8685857 (patch) | |
tree | 917ca8fd5f7598194d264ec92a08b312d4932b90 /include/media/soc_camera_platform.h | |
parent | bc1937b41d8253e2b554da385023a92189d38917 (diff) |
V4L/DVB (12506): soc-camera: convert to platform device
Convert soc-camera core and all drivers to platform device API. We already
converted platforms to register a platform device for each soc-camera client,
now we remove the compatibility code and switch completely to the new scheme.
This is a preparatory step for the v4l2-subdev conversion.
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/media/soc_camera_platform.h')
-rw-r--r-- | include/media/soc_camera_platform.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/media/soc_camera_platform.h b/include/media/soc_camera_platform.h index 3e8f020abf4..b144f947f1c 100644 --- a/include/media/soc_camera_platform.h +++ b/include/media/soc_camera_platform.h | |||
@@ -18,11 +18,10 @@ struct device; | |||
18 | 18 | ||
19 | struct soc_camera_platform_info { | 19 | struct soc_camera_platform_info { |
20 | int iface; | 20 | int iface; |
21 | char *format_name; | 21 | const char *format_name; |
22 | unsigned long format_depth; | 22 | unsigned long format_depth; |
23 | struct v4l2_pix_format format; | 23 | struct v4l2_pix_format format; |
24 | unsigned long bus_param; | 24 | unsigned long bus_param; |
25 | void (*power)(int); | ||
26 | struct device *dev; | 25 | struct device *dev; |
27 | int (*set_capture)(struct soc_camera_platform_info *info, int enable); | 26 | int (*set_capture)(struct soc_camera_platform_info *info, int enable); |
28 | struct soc_camera_link link; | 27 | struct soc_camera_link link; |