diff options
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2009-08-25 16:28:22 +0200 |
---|---|---|
committer | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2009-08-25 16:28:22 +0200 |
commit | 0326f126a4d2f1e2cda2c11725a7f7d7d8273f7f (patch) | |
tree | 93ee6755700f373bce9522ec8611a9dcf0161b09 /linux/include/media/soc_camera_platform.h | |
parent | 54b9f746c2e8e1fa753c1ce6b3ac30c78d5e2005 (diff) | |
download | mediapointer-dvb-s2-0326f126a4d2f1e2cda2c11725a7f7d7d8273f7f.tar.gz mediapointer-dvb-s2-0326f126a4d2f1e2cda2c11725a7f7d7d8273f7f.tar.bz2 |
soc-camera: convert to platform device
From: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
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>
Priority: low
Diffstat (limited to 'linux/include/media/soc_camera_platform.h')
-rw-r--r-- | linux/include/media/soc_camera_platform.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/linux/include/media/soc_camera_platform.h b/linux/include/media/soc_camera_platform.h index 3e8f020ab..b144f947f 100644 --- a/linux/include/media/soc_camera_platform.h +++ b/linux/include/media/soc_camera_platform.h @@ -18,11 +18,10 @@ struct device; struct soc_camera_platform_info { int iface; - char *format_name; + const char *format_name; unsigned long format_depth; struct v4l2_pix_format format; unsigned long bus_param; - void (*power)(int); struct device *dev; int (*set_capture)(struct soc_camera_platform_info *info, int enable); struct soc_camera_link link; |