Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp5996084rwl; Thu, 29 Dec 2022 06:08:21 -0800 (PST) X-Google-Smtp-Source: AMrXdXswmIj3Gw6+/YcEDHxWKwF+3HCn4W7FKcgymVkDIA5EKr6cenA8OnYW5QoOozDCqSfUzYAj X-Received: by 2002:aa7:d291:0:b0:486:78e0:78c7 with SMTP id w17-20020aa7d291000000b0048678e078c7mr9298286edq.10.1672322901382; Thu, 29 Dec 2022 06:08:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672322901; cv=none; d=google.com; s=arc-20160816; b=iicXVTiaAvZnL8/ZyxGwD67TeAxACMJEvJ+AkyNGOYs+57pDBBONx2aN2Q31zXZAsX K4N0OZB5FU5zqTxijHqfm2+eydPPVy9r4nI73QabTFDzDapFY2kafwsnov7juP4jIcET gYty8lSEIBdYKtFeh6XrLkIk+5vptzqSjOzbb3UkMqIZ4GD64xkEbigW5kgfXjZ5YKa8 C8JJrPuUyw/3Gu71qHj1Q4gZRwS568v9GNFHtTFRWF8gCxjl6PgFCthTHPMIPeOMfptP 78QbSmPWyENzHnRb2jxyiGCPujEZfmZGOzYdisd3tQkgr538RsVJpEq4MNXHMLJq7j/b Poiw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Rxd5etkxm/QsMIFmem4kDzhHvir4o1D7dvjd5AYgtdE=; b=x4X3qL9XzlNfasllaLnjYA6jLQJDRW3y4JPne8p2yrNEVu3A6MbwS5j1wW51zlD849 tDL9dmYLpfa/x6YdnXLxRJaIrEtnBSMYZ/FzXdF/VPHK6PLUa0CW9Hr7BhFuJ59OMrhg 7YAhvCMz1jRB3xFOuJCKNxKQdHPCqnGKi7CKEJzia5M8Rv+fLykk5u6WSUpT/0qiidyy KFCf3T42BMu2+OHTuZdFf854VaQow5wZcnGzrF50YSNgeD2T6wC/V0MJSpqrhZ6rTQ6+ kvSgC+gMuY2f2/ZRk133/XyiL7ZZ8ifnuHa1R+Agkst94ReIVPsRFJcpFphWFwivPI0I 5jcA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b="m6Qu5Vp/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q15-20020a056402518f00b0047f0a0bc793si16903199edd.352.2022.12.29.06.07.56; Thu, 29 Dec 2022 06:08:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b="m6Qu5Vp/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233514AbiL2NdT (ORCPT + 61 others); Thu, 29 Dec 2022 08:33:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52034 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233392AbiL2Ncn (ORCPT ); Thu, 29 Dec 2022 08:32:43 -0500 Received: from relay9-d.mail.gandi.net (relay9-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::229]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7E1D41116F; Thu, 29 Dec 2022 05:32:41 -0800 (PST) Received: from booty.fritz.box (unknown [77.244.183.192]) (Authenticated sender: luca.ceresoli@bootlin.com) by mail.gandi.net (Postfix) with ESMTPA id B7FACFF807; Thu, 29 Dec 2022 13:32:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1672320760; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Rxd5etkxm/QsMIFmem4kDzhHvir4o1D7dvjd5AYgtdE=; b=m6Qu5Vp/bAEdp58VnsZnJ6xKgmv8R10f3xFAf2DzU4DYXFUbuY8DsOMW43JIwedyRqW/OB iX8iZ9Njch9B2//I+NtNdgzkiG6g1mKMDp6izNTaJB8x+X/lRZubmblzzeNqxU66auFQqe K4t4hSjcenC/RqurzR5VfX/T1B59tqrXlIGfgvuPbWtbrZ+1Ut6I8ST3BSKoSZ6LWv2/6H pWv80yHJryuDoy+gIpzadfdUX2Rx/NjmOrzodelcaH3jzbtX4TuujT6bnWzC50Qndus1ZD EEVoesPF+fQPfJW8xm4bHdU4lTRPicziSWgds6mSaAfeSMU9k2c7tvh7SXBwsQ== From: Luca Ceresoli To: Thierry Reding , Jonathan Hunter , Sowjanya Komatineni , Luca Ceresoli , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Mauro Carvalho Chehab , Greg Kroah-Hartman , Dmitry Osipenko , Hans Verkuil Cc: linux-media@vger.kernel.org, linux-tegra@vger.kernel.org, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-staging@lists.linux.dev, Thomas Petazzoni , Paul Kocialkowski , Richard Leitner Subject: [PATCH v3 09/21] staging: media: tegra-video: move private struct declaration to C file Date: Thu, 29 Dec 2022 14:31:53 +0100 Message-Id: <20221229133205.981397-10-luca.ceresoli@bootlin.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221229133205.981397-1-luca.ceresoli@bootlin.com> References: <20221229133205.981397-1-luca.ceresoli@bootlin.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org struct tegra_vi_graph_entity is an internal implementation detail of the VI module. Move its declaration from vi.h to vi.c. Signed-off-by: Luca Ceresoli --- No changes in v3 No changes in v2 --- drivers/staging/media/tegra-video/vi.c | 13 +++++++++++++ drivers/staging/media/tegra-video/vi.h | 13 ------------- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/drivers/staging/media/tegra-video/vi.c b/drivers/staging/media/tegra-video/vi.c index c2724e1ecafb..4e48eaa0fbdc 100644 --- a/drivers/staging/media/tegra-video/vi.c +++ b/drivers/staging/media/tegra-video/vi.c @@ -31,6 +31,19 @@ #define MAX_CID_CONTROLS 1 +/** + * struct tegra_vi_graph_entity - Entity in the video graph + * + * @asd: subdev asynchronous registration information + * @entity: media entity from the corresponding V4L2 subdev + * @subdev: V4L2 subdev + */ +struct tegra_vi_graph_entity { + struct v4l2_async_subdev asd; + struct media_entity *entity; + struct v4l2_subdev *subdev; +}; + static const struct tegra_video_format tegra_default_format = { .img_dt = TEGRA_IMAGE_DT_RAW10, .bit_width = 10, diff --git a/drivers/staging/media/tegra-video/vi.h b/drivers/staging/media/tegra-video/vi.h index dd35c3ac992b..dfd834a69848 100644 --- a/drivers/staging/media/tegra-video/vi.h +++ b/drivers/staging/media/tegra-video/vi.h @@ -98,19 +98,6 @@ struct tegra_vi { struct list_head vi_chans; }; -/** - * struct tegra_vi_graph_entity - Entity in the video graph - * - * @asd: subdev asynchronous registration information - * @entity: media entity from the corresponding V4L2 subdev - * @subdev: V4L2 subdev - */ -struct tegra_vi_graph_entity { - struct v4l2_async_subdev asd; - struct media_entity *entity; - struct v4l2_subdev *subdev; -}; - /** * struct tegra_vi_channel - Tegra video channel * -- 2.34.1