Message ID | 20230309144320.2937553-11-luca.ceresoli@bootlin.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp342334wrd; Thu, 9 Mar 2023 07:09:08 -0800 (PST) X-Google-Smtp-Source: AK7set+nxB/KSs3NIcCofk1U3LWKo7so0+JYggtszpHYToAnb1VtMh+/qgJIQKome9yfll+stKki X-Received: by 2002:a05:6e02:1907:b0:315:4169:c5ac with SMTP id w7-20020a056e02190700b003154169c5acmr20031178ilu.30.1678374547883; Thu, 09 Mar 2023 07:09:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678374547; cv=none; d=google.com; s=arc-20160816; b=iM8oTwXXiGWMDUWeHpPwdRDbjymtTP2yrJepq+y18N2TIfD0R/ZiQi1Mndju8WmTQ7 9frtBu8QHD2VvSLNQTs/SX+9hlebdrhJzQJ4ZImA+Yv1K/pn1zGDWl212rpwhVBEvS58 QQLaeatiNCdJ8LOkn01QQyeIUth+bWWfeJ/PpgPXCeSB4m51ndtUmx8kyY+y3lkwYDeY Plrl9TLJw22q5CFTbkEM9ME9tuVp2UoG2vqZ8BAM2/9UJXlBDF9fieeaPOTUgAu4/6PK KqB8mhEOJGINSOOOeTapmNZJcFIrTmEA4H9rQ3H0St2iOHl/eOjwBcdvBE+3xEh8O3jU sIKw== 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=Q4BvN5HyJmKtSkjDUwF1rWQvQrWrP7q+NWC5eE97eRY=; b=Bx/5HiX73sn97rMf0QTAg9sJHFD4pBudYBq8r3f6KNASGl4qgPZfLFYn2FBTqRarW9 kvu4U/UkfbKJU1vOAUlk/c5c612HeGO+okoK5EscRqnD33JSpGl1NUaCauwtUb2pRQ3A 17AZwtILS8b52OZMjjpGC94sJ7RpKcnnO+eOD8poglX9EedwanG74j98suheZTtuPNcz 1oExoI0W5LlgVR+y7xqW9WJHJSyVJxXynUZqRrqTleKJQvuc/vMDxd1xOS61Llxpl7mI 1XUWU/DwRwJET9FgGTXiXyA/TG2BR4gp6oD22Z4DpCn1D0v2JiQot67imRMynNs9Q1dK EL3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=HzODzW7t; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p7-20020a02c807000000b003e32e669e09si18772108jao.66.2023.03.09.07.08.49; Thu, 09 Mar 2023 07:09:07 -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=HzODzW7t; 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 S231865AbjCIOoe (ORCPT <rfc822;carlos.wei.hk@gmail.com> + 99 others); Thu, 9 Mar 2023 09:44:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52530 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231928AbjCIOoO (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 9 Mar 2023 09:44:14 -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 7BB15E8AB4; Thu, 9 Mar 2023 06:43:57 -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 484FBFF80D; Thu, 9 Mar 2023 14:43:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1678373035; 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=Q4BvN5HyJmKtSkjDUwF1rWQvQrWrP7q+NWC5eE97eRY=; b=HzODzW7t3QvOI5XCc1zDBndAcogj1UGvmYYo72CdTSH/Q9qOVdzu/7YKf05N8mGPvFZ4lA Y0o7DE0mHFpU7KChhvuVkURLo3mavQcMouiIRHPD0QqmSi1boFbCXb0f1zVUsE8iP1R9Sg bcFISDnyf9u0tLK7IMbjvG5hrGSkWQxaV88U/urXJ8qeFcTVDJGUclSdzSi8eBVthJudvQ ZiYGfz2hSZSuTv4fFvwA9MgQSBC+IZ29wEeV3+zRoWjJeyQfj5Sh78nBaaK7sCTUGSyzw7 uTLhMYzjpXyatcpq+BE0Z7+PWxP6baovJeI4FOFOTtDR+9yqV7VbzW/cJy4v1g== From: Luca Ceresoli <luca.ceresoli@bootlin.com> To: Thierry Reding <thierry.reding@gmail.com>, Jonathan Hunter <jonathanh@nvidia.com>, Sowjanya Komatineni <skomatineni@nvidia.com>, David Airlie <airlied@gmail.com>, Daniel Vetter <daniel@ffwll.ch>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Mauro Carvalho Chehab <mchehab@kernel.org>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Dmitry Osipenko <digetx@gmail.com>, Hans Verkuil <hverkuil-cisco@xs4all.nl> Cc: Luca Ceresoli <luca.ceresoli@bootlin.com>, 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 <thomas.petazzoni@bootlin.com>, Paul Kocialkowski <paul.kocialkowski@bootlin.com>, Richard Leitner <richard.leitner@skidata.com> Subject: [RESEND PATCH v4 10/21] staging: media: tegra-video: move tegra210_csi_soc to C file Date: Thu, 9 Mar 2023 15:43:09 +0100 Message-Id: <20230309144320.2937553-11-luca.ceresoli@bootlin.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230309144320.2937553-1-luca.ceresoli@bootlin.com> References: <20230309144320.2937553-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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1759903269632729745?= X-GMAIL-MSGID: =?utf-8?q?1759903269632729745?= |
Series |
Add Tegra20 parallel video input capture
|
|
Commit Message
Luca Ceresoli
March 9, 2023, 2:43 p.m. UTC
This declaration is used only in csi.c, no need to export it elsewhere. Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Reviewed-by: Dmitry Osipenko <digetx@gmail.com> --- Changed in v4: - Added review tags This patch was added in v3. --- drivers/staging/media/tegra-video/csi.c | 4 ++++ drivers/staging/media/tegra-video/csi.h | 4 ---- 2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/staging/media/tegra-video/csi.c b/drivers/staging/media/tegra-video/csi.c index 426e653bd55d..9a03d5ccdf3c 100644 --- a/drivers/staging/media/tegra-video/csi.c +++ b/drivers/staging/media/tegra-video/csi.c @@ -792,6 +792,10 @@ static int tegra_csi_remove(struct platform_device *pdev) return 0; } +#if defined(CONFIG_ARCH_TEGRA_210_SOC) +extern const struct tegra_csi_soc tegra210_csi_soc; +#endif + static const struct of_device_id tegra_csi_of_id_table[] = { #if defined(CONFIG_ARCH_TEGRA_210_SOC) { .compatible = "nvidia,tegra210-csi", .data = &tegra210_csi_soc }, diff --git a/drivers/staging/media/tegra-video/csi.h b/drivers/staging/media/tegra-video/csi.h index 6960ea2e3d36..3e6e5ee1bb1e 100644 --- a/drivers/staging/media/tegra-video/csi.h +++ b/drivers/staging/media/tegra-video/csi.h @@ -151,10 +151,6 @@ struct tegra_csi { struct list_head csi_chans; }; -#if defined(CONFIG_ARCH_TEGRA_210_SOC) -extern const struct tegra_csi_soc tegra210_csi_soc; -#endif - void tegra_csi_error_recover(struct v4l2_subdev *subdev); void tegra_csi_calc_settle_time(struct tegra_csi_channel *csi_chan, u8 csi_port_num,