diff options
Diffstat (limited to 'include/media/soc_camera.h')
-rw-r--r-- | include/media/soc_camera.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/media/soc_camera.h b/include/media/soc_camera.h index 23ecead35e7a..813e12061daa 100644 --- a/include/media/soc_camera.h +++ b/include/media/soc_camera.h | |||
@@ -102,6 +102,12 @@ struct soc_camera_link { | |||
102 | int i2c_adapter_id; | 102 | int i2c_adapter_id; |
103 | struct i2c_board_info *board_info; | 103 | struct i2c_board_info *board_info; |
104 | const char *module_name; | 104 | const char *module_name; |
105 | /* | ||
106 | * For non-I2C devices platform platform has to provide methods to | ||
107 | * add a device to the system and to remove | ||
108 | */ | ||
109 | int (*add_device)(struct soc_camera_link *, struct device *); | ||
110 | void (*del_device)(struct soc_camera_link *); | ||
105 | /* Optional callbacks to power on or off and reset the sensor */ | 111 | /* Optional callbacks to power on or off and reset the sensor */ |
106 | int (*power)(struct device *, int); | 112 | int (*power)(struct device *, int); |
107 | int (*reset)(struct device *); | 113 | int (*reset)(struct device *); |