]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/media/soc_camera.h
sched: fine-tune SD_MC_INIT
[linux-2.6-omap-h63xx.git] / include / media / soc_camera.h
index d548de326722a657ae8a257fe35e214f6585f432..c5de7bb19fda759febc5a35aca76cf738a7afcc8 100644 (file)
@@ -83,6 +83,9 @@ struct soc_camera_link {
        int bus_id;
        /* GPIO number to switch between 8 and 10 bit modes */
        unsigned int gpio;
+       /* Optional callbacks to power on or off and reset the sensor */
+       int (*power)(struct device *, int);
+       int (*reset)(struct device *);
 };
 
 static inline struct soc_camera_device *to_soc_camera_dev(struct device *dev)