drm: Fix up markup fumble
Subsystems (2)
PATCH 1/1 drm: Fix up markup fumble
It's & for struct references, not #.
Signed-off-by Daniel Vetter <[email protected]>
--- include/drm/drm_modeset_helper_vtables.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/drm/drm_modeset_helper_vtables.h +1 -1
@@ -672,7 +672,7 @@ struct drm_connector_helper_funcs {* fixed panel can also manually add specific modes using * drm_mode_probed_add(). Drivers which manually add modes should also * make sure that the @display_info, @width_mm and @height_mm fields of the -* struct #drm_connector are filled in. +* struct &drm_connector are filled in. * * Virtual drivers that just want some standard VESA mode with a given * resolution can call drm_add_modes_noedid(), and mark the preferred
Signature · 6 lines
2.8.1 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 12 lines · Daniel Vetter
It's & for struct references, not #.
Signed-off-by Daniel Vetter <[email protected]>--- include/drm/drm_modeset_helper_vtables.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)include/drm/drm_modeset_helper_vtables.h +0
-0
include/drm/drm_modeset_helper_vtables.h struct drm_connector_helper_funcs { · line 675
Quoted 5 lines
include/drm/drm_modeset_helper_vtables.h +1
-1@@ -672,7 +672,7 @@ struct drm_connector_helper_funcs {* fixed panel can also manually add specific modes using * drm_mode_probed_add(). Drivers which manually add modes should also * make sure that the @display_info, @width_mm and @height_mm fields of the -* struct #drm_connector are filled in. +* struct &drm_connector are filled in.
This is all right, but in the future I think we should promote "&struct foo" over "struct &foo". Both work now, but the former makes support for &enum foo and &union foo nicer in kernel-doc.
BR,
Jani.
Quoted 3 lines
include/drm/drm_modeset_helper_vtables.h +0
-0* * Virtual drivers that just want some standard VESA mode with a given * resolution can call drm_add_modes_noedid(), and mark the preferred
Signature · 5 lines
Jani Nikula, Intel Open Source Technology Center _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel