Skip to content

Commit 6aa1340

Browse files
committed
drm/bridge: Move the struct drm_bridge member kerneldoc inline.
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>
1 parent abd7dbe commit 6aa1340

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

include/drm/drm_bridge.h

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -270,27 +270,29 @@ struct drm_bridge_timings {
270270

271271
/**
272272
* struct drm_bridge - central DRM bridge control structure
273-
* @dev: DRM device this bridge belongs to
274-
* @encoder: encoder to which this bridge is connected
275-
* @next: the next bridge in the encoder chain
276-
* @of_node: device node pointer to the bridge
277-
* @list: to keep track of all added bridges
278-
* @timings: the timing specification for the bridge, if any (may
279-
* be NULL)
280-
* @funcs: control functions
281-
* @driver_private: pointer to the bridge driver's internal context
282273
*/
283274
struct drm_bridge {
275+
/** @dev: DRM device this bridge belongs to */
284276
struct drm_device *dev;
277+
/** @encoder: encoder to which this bridge is connected */
285278
struct drm_encoder *encoder;
279+
/** @next: the next bridge in the encoder chain */
286280
struct drm_bridge *next;
287281
#ifdef CONFIG_OF
282+
/** @of_node: device node pointer to the bridge */
288283
struct device_node *of_node;
289284
#endif
285+
/** @list: to keep track of all added bridges */
290286
struct list_head list;
287+
/**
288+
* @timings:
289+
*
290+
* the timing specification for the bridge, if any (may be NULL)
291+
*/
291292
const struct drm_bridge_timings *timings;
292-
293+
/** @funcs: control functions */
293294
const struct drm_bridge_funcs *funcs;
295+
/** @driver_private: pointer to the bridge driver's internal context */
294296
void *driver_private;
295297
};
296298

0 commit comments

Comments
 (0)