Merge tag 'media/v6.3-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab...
[sfrench/cifs-2.6.git] / include / media / v4l2-subdev.h
index 17773be4a4eed08f360c1c49fd4b33003c6867c0..7245887ef002fb4268d7ba9c0ed84311de58f1bf 100644 (file)
@@ -38,6 +38,7 @@ struct v4l2_subdev;
 struct v4l2_subdev_fh;
 struct tuner_setup;
 struct v4l2_mbus_frame_desc;
+struct led_classdev;
 
 /**
  * struct v4l2_decode_vbi_line - used to decode_vbi_line
@@ -1029,6 +1030,7 @@ struct v4l2_subdev_platform_data {
  * @state_lock: A pointer to a lock used for all the subdev's states, set by the
  *             driver. This is optional. If NULL, each state instance will get
  *             a lock of its own.
+ * @privacy_led: Optional pointer to a LED classdev for the privacy LED for sensors.
  * @active_state: Active state for the subdev (NULL for subdevs tracking the
  *               state internally). Initialized by calling
  *               v4l2_subdev_init_finalize().
@@ -1074,6 +1076,8 @@ struct v4l2_subdev {
         * appropriate functions.
         */
 
+       struct led_classdev *privacy_led;
+
        /*
         * TODO: active_state should most likely be changed from a pointer to an
         * embedded field. For the time being it's kept as a pointer to more