[PATCH 13/15] drm/doc: Includ drm_of.c helpers

Sean Paul seanpaul at chromium.org
Fri Jul 13 15:28:39 UTC 2018


On Mon, Jul 09, 2018 at 10:40:14AM +0200, Daniel Vetter wrote:
> Fixes a dead link I spotted in the struct drm_crtc docs. Comments
> themselves are in a surprisingly good state.
> 
> Signed-off-by: Daniel Vetter <daniel.vetter at intel.com>

In subject, s/Includ/Include/. With that,

Reviewed-by: Sean Paul <seanpaul at chromium.org>


> ---
>  Documentation/gpu/drm-kms-helpers.rst | 9 +++++++++
>  drivers/gpu/drm/drm_of.c              | 9 ++++++++-
>  2 files changed, 17 insertions(+), 1 deletion(-)
> 
> diff --git a/Documentation/gpu/drm-kms-helpers.rst b/Documentation/gpu/drm-kms-helpers.rst
> index 8aece8605f4c..77e5398806a5 100644
> --- a/Documentation/gpu/drm-kms-helpers.rst
> +++ b/Documentation/gpu/drm-kms-helpers.rst
> @@ -291,6 +291,15 @@ Auxiliary Modeset Helpers
>  .. kernel-doc:: drivers/gpu/drm/drm_modeset_helper.c
>     :export:
>  
> +OF/DT Helpers
> +=============
> +
> +.. kernel-doc:: drivers/gpu/drm/drm_of.c
> +   :doc: overview
> +
> +.. kernel-doc:: drivers/gpu/drm/drm_of.c
> +   :export:
> +
>  Legacy Plane Helper Reference
>  =============================
>  
> diff --git a/drivers/gpu/drm/drm_of.c b/drivers/gpu/drm/drm_of.c
> index 3b8c7a6a5720..e11f91244593 100644
> --- a/drivers/gpu/drm/drm_of.c
> +++ b/drivers/gpu/drm/drm_of.c
> @@ -9,6 +9,13 @@
>  #include <drm/drm_panel.h>
>  #include <drm/drm_of.h>
>  
> +/**
> + * DOC: overview
> + *
> + * A set of helper functions to aid DRM drivers in parsing standard DT
> + * properties.
> + */
> +
>  static void drm_release_of(struct device *dev, void *data)
>  {
>  	of_node_put(data);
> @@ -94,7 +101,7 @@ EXPORT_SYMBOL_GPL(drm_of_component_match_add);
>   * drm_of_component_probe - Generic probe function for a component based master
>   * @dev: master device containing the OF node
>   * @compare_of: compare function used for matching components
> - * @master_ops: component master ops to be used
> + * @m_ops: component master ops to be used
>   *
>   * Parse the platform device OF node and bind all the components associated
>   * with the master. Interface ports are added before the encoders in order to
> -- 
> 2.18.0
> 
> _______________________________________________
> dri-devel mailing list
> dri-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel

-- 
Sean Paul, Software Engineer, Google / Chromium OS


More information about the dri-devel mailing list