Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp1227083imm; Wed, 6 Jun 2018 12:28:25 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKtzG0zOqow29WeNO32IO3nzo6k9LckgvEoErXM+lvX6vaT8FO/nJN4Jk8FtxnDJK35lSY+ X-Received: by 2002:a65:644a:: with SMTP id s10-v6mr3625242pgv.360.1528313305915; Wed, 06 Jun 2018 12:28:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528313305; cv=none; d=google.com; s=arc-20160816; b=fceQs/HGkJUpWbQv4dZoOaHnW1ENHGnqPZnoq7k1T77w+0GJs52Q6sTOQA/zzv4gL8 tdXTK7S8gHriAEAxAaoNkCoP+Izaja1P26DYa0IRo/QmfGZBKjCnH8FIOG7Ns1QVHj78 IwHBasdk1/COQHQ2WZAzfPcdTf798q3PZcp2jsi9xV1gIDncQ2ge20L4nVEu+0bun4AO mYwwvwMBN4ov1W2AJn7EnmmNz5zd6LTy0zpGZ38OyJb22Is2bKTyJwaudGCyg0O5e2Uo PkDunoGuJtyMBATbTfIbSk5KeAFVNDvVl68Kv4UwexdIVg0oL2ibkXcFRtMe2+cikHeb MWpg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=gqJ40NkI3ED4PBLXTZSvx5zafTOfyxW6ddm2hOS9A8c=; b=W8WP7O78J0mOHizgqOPSSIL4LIIlXc+pA68vrXYUGHwQSfbTNRb6/VuuNSn+c/Vy6L hrPd1F2AgQAMUmPfXz2BMe1aydJm/yoWQVKOocOxsL8dbG7amiOW79VRjAY9VaICM3eD oVaKVj6FXTu37mGBrT6bnxUNr5XY4EhS/fo9JIqY+JXTjW5jDlkXSN9xL/W8rpeJUkqq AqtUfAg7NRLYLE37/6o6eQtTssQbnqprv6TLYcbyJQXnNU8huNSrlXLGiztbSbdXfNog LkzZqAFKlyxSwPpVQcoQCvInxJO0ADXs0Tzx4mFKcG3Br4frieIRN1UXIDP2iafA7CtR EA8g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b70-v6si26376112pga.536.2018.06.06.12.28.11; Wed, 06 Jun 2018 12:28:25 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753016AbeFFTEi (ORCPT + 99 others); Wed, 6 Jun 2018 15:04:38 -0400 Received: from anholt.net ([50.246.234.109]:50118 "EHLO anholt.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752994AbeFFTEg (ORCPT ); Wed, 6 Jun 2018 15:04:36 -0400 Received: from localhost (localhost [127.0.0.1]) by anholt.net (Postfix) with ESMTP id 6271810A17E3; Wed, 6 Jun 2018 12:04:36 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at anholt.net Received: from anholt.net ([127.0.0.1]) by localhost (kingsolver.anholt.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id KZkRYDb7pcGR; Wed, 6 Jun 2018 12:04:34 -0700 (PDT) Received: from eliezer.anholt.net (localhost [127.0.0.1]) by anholt.net (Postfix) with ESMTP id 91DB710A1610; Wed, 6 Jun 2018 12:04:32 -0700 (PDT) Received: by eliezer.anholt.net (Postfix, from userid 1000) id AA4BB2FE2D96; Wed, 6 Jun 2018 12:04:31 -0700 (PDT) From: Eric Anholt To: dri-devel@lists.freedesktop.org, Archit Taneja , Andrzej Hajda , Laurent Pinchart Cc: linux-kernel@vger.kernel.org, Eric Anholt Subject: [PATCH 1/3] drm/bridge: Move the struct drm_bridge member kerneldoc inline. Date: Wed, 6 Jun 2018 12:04:29 -0700 Message-Id: <20180606190431.1833-1-eric@anholt.net> X-Mailer: git-send-email 2.17.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This makes it more likely that the docs stay updated with the code. Signed-off-by: Eric Anholt --- include/drm/drm_bridge.h | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/include/drm/drm_bridge.h b/include/drm/drm_bridge.h index 70131ab57e8f..bd850747ce54 100644 --- a/include/drm/drm_bridge.h +++ b/include/drm/drm_bridge.h @@ -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; }; -- 2.17.0