]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - include/media/soc_camera.h
Merge tag 'v2.6.38' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
[mv-sheeva.git] / include / media / soc_camera.h
index 86e3631764ef3b89a0c12ab675395853e2ccd295..9386db829fb7d01190d2d86cf3cf319440e337c5 100644 (file)
@@ -97,6 +97,7 @@ struct soc_camera_host_ops {
 #define SOCAM_SENSOR_INVERT_DATA       (1 << 4)
 
 struct i2c_board_info;
+struct regulator_bulk_data;
 
 struct soc_camera_link {
        /* Camera bus id, used to match a camera and a bus */
@@ -108,6 +109,10 @@ struct soc_camera_link {
        const char *module_name;
        void *priv;
 
+       /* Optional regulators that have to be managed on power on/off events */
+       struct regulator_bulk_data *regulators;
+       int num_regulators;
+
        /*
         * For non-I2C devices platform platform has to provide methods to
         * add a device to the system and to remove