diff options
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2009-05-07 18:25:32 +0200 |
---|---|---|
committer | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2009-05-07 18:25:32 +0200 |
commit | ee56997de9033d06c740726754437b09ddebb039 (patch) | |
tree | 853e64b87b4a24397e9863bb6b94ca4db6a81837 /linux/include/media | |
parent | 761117ef9d86061f47fda80f18837a57a0feb72a (diff) | |
download | mediapointer-dvb-s2-ee56997de9033d06c740726754437b09ddebb039.tar.gz mediapointer-dvb-s2-ee56997de9033d06c740726754437b09ddebb039.tar.bz2 |
soc-camera: prepare for the platform driver conversion
Add a platform driver to soc_camera.c. This way we preserve backwards
compatibility with existing platforms and can start converting them one by one
to the new platform-device soc-camera interface.
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Diffstat (limited to 'linux/include/media')
-rw-r--r-- | linux/include/media/soc_camera.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/linux/include/media/soc_camera.h b/linux/include/media/soc_camera.h index bef5e81d6..23ecead35 100644 --- a/linux/include/media/soc_camera.h +++ b/linux/include/media/soc_camera.h @@ -92,11 +92,16 @@ struct soc_camera_host_ops { #define SOCAM_SENSOR_INVERT_VSYNC (1 << 3) #define SOCAM_SENSOR_INVERT_DATA (1 << 4) +struct i2c_board_info; + struct soc_camera_link { /* Camera bus id, used to match a camera and a bus */ int bus_id; /* Per camera SOCAM_SENSOR_* bus flags */ unsigned long flags; + int i2c_adapter_id; + struct i2c_board_info *board_info; + const char *module_name; /* Optional callbacks to power on or off and reset the sensor */ int (*power)(struct device *, int); int (*reset)(struct device *); |