]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
drm/bridge: Move the struct drm_bridge member kerneldoc inline.
authorEric Anholt <eric@anholt.net>
Wed, 6 Jun 2018 19:04:29 +0000 (12:04 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 21 Jun 2018 21:00:06 +0000 (14:00 -0700)
This makes it more likely that the docs stay updated with the code.

Signed-off-by: Eric Anholt <eric@anholt.net>
Link: https://patchwork.freedesktop.org/patch/msgid/20180606190431.1833-1-eric@anholt.net
Reviewed-by: Andrzej Hajda <a.hajda@samsung.com>
include/drm/drm_bridge.h

index 70131ab57e8f2bb3af291a6a0f9979377a18bfc7..bd850747ce5472fe477919db42f4cb5d1911f61f 100644 (file)
@@ -270,27 +270,29 @@ struct drm_bridge_timings {
 
 /**
  * struct drm_bridge - central DRM bridge control structure
- * @dev: DRM device this bridge belongs to
- * @encoder: encoder to which this bridge is connected
- * @next: the next bridge in the encoder chain
- * @of_node: device node pointer to the bridge
- * @list: to keep track of all added bridges
- * @timings: the timing specification for the bridge, if any (may
- * be NULL)
- * @funcs: control functions
- * @driver_private: pointer to the bridge driver's internal context
  */
 struct drm_bridge {
+       /** @dev: DRM device this bridge belongs to */
        struct drm_device *dev;
+       /** @encoder: encoder to which this bridge is connected */
        struct drm_encoder *encoder;
+       /** @next: the next bridge in the encoder chain */
        struct drm_bridge *next;
 #ifdef CONFIG_OF
+       /** @of_node: device node pointer to the bridge */
        struct device_node *of_node;
 #endif
+       /** @list: to keep track of all added bridges */
        struct list_head list;
+       /**
+        * @timings:
+        *
+        * the timing specification for the bridge, if any (may be NULL)
+        */
        const struct drm_bridge_timings *timings;
-
+       /** @funcs: control functions */
        const struct drm_bridge_funcs *funcs;
+       /** @driver_private: pointer to the bridge driver's internal context */
        void *driver_private;
 };