Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/doc: Include drm_of.c helpers

Fixes a dead link I spotted in the struct drm_crtc docs. Comments
themselves are in a surprisingly good state.

v2: Fix subject typo (Sean).

Reviewed-by: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180709084016.23750-14-daniel.vetter@ffwll.ch

+17 -1
+9
Documentation/gpu/drm-kms-helpers.rst
··· 300 300 .. kernel-doc:: drivers/gpu/drm/drm_modeset_helper.c 301 301 :export: 302 302 303 + OF/DT Helpers 304 + ============= 305 + 306 + .. kernel-doc:: drivers/gpu/drm/drm_of.c 307 + :doc: overview 308 + 309 + .. kernel-doc:: drivers/gpu/drm/drm_of.c 310 + :export: 311 + 303 312 Legacy Plane Helper Reference 304 313 ============================= 305 314
+8 -1
drivers/gpu/drm/drm_of.c
··· 9 9 #include <drm/drm_panel.h> 10 10 #include <drm/drm_of.h> 11 11 12 + /** 13 + * DOC: overview 14 + * 15 + * A set of helper functions to aid DRM drivers in parsing standard DT 16 + * properties. 17 + */ 18 + 12 19 static void drm_release_of(struct device *dev, void *data) 13 20 { 14 21 of_node_put(data); ··· 101 94 * drm_of_component_probe - Generic probe function for a component based master 102 95 * @dev: master device containing the OF node 103 96 * @compare_of: compare function used for matching components 104 - * @master_ops: component master ops to be used 97 + * @m_ops: component master ops to be used 105 98 * 106 99 * Parse the platform device OF node and bind all the components associated 107 100 * with the master. Interface ports are added before the encoders in order to