]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
drm/connector: document enum drm_connector_tv_mode DRM_MODE_TV_MODE_MAX
authorJani Nikula <jani.nikula@intel.com>
Thu, 4 May 2023 12:34:44 +0000 (15:34 +0300)
committerJani Nikula <jani.nikula@intel.com>
Tue, 9 May 2023 08:55:29 +0000 (11:55 +0300)
Add documentation for the DRM_MODE_TV_MODE_MAX enumerator to fix the
kernel-doc warning:

include/drm/drm_connector.h:204: warning: Enum value 'DRM_MODE_TV_MODE_MAX' not described in enum 'drm_connector_tv_mode'

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Simon Ser <contact@emersion.fr>
Link: https://patchwork.freedesktop.org/patch/msgid/20230504123444.1843795-1-jani.nikula@intel.com
include/drm/drm_connector.h

index 7b5048516185c1f17cb406769523fe11567fd3d9..e6478fafa6b04545c51a5243fe34be230991d11b 100644 (file)
@@ -199,6 +199,11 @@ enum drm_connector_tv_mode {
         */
        DRM_MODE_TV_MODE_SECAM,
 
+       /**
+        * @DRM_MODE_TV_MODE_MAX: Number of analog TV output modes.
+        *
+        * Internal implementation detail; this is not uABI.
+        */
        DRM_MODE_TV_MODE_MAX,
 };