Message ID | 20221229133205.981397-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:4e01:0:0:0:0:0 with SMTP id p1csp2402957wrt; Thu, 29 Dec 2022 05:34:03 -0800 (PST) X-Google-Smtp-Source: AMrXdXu5Ojne2UlXmjvMEse0N7qoyDaceWb2QCGCf/GRhuDTa/thUbV0tkatsFTzNc+eZ4YP0xvo X-Received: by 2002:a17:90b:3597:b0:219:b1f0:ddf0 with SMTP id mm23-20020a17090b359700b00219b1f0ddf0mr31781297pjb.36.1672320842662; Thu, 29 Dec 2022 05:34:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672320842; cv=none; d=google.com; s=arc-20160816; b=HSwlikEkKx1ZPwCFmVOZzfXeo0yWHVPrlAYDEmwFUvoPIjs/+9ont46Ov8l5iRmjAJ QdsuXcnw4lqLF6ozcSDEBWpV7ALJyAm731Kxh/QjdYJPDvBVLrYJfAHw0GSIeok7xEcE 5u7OEZPwcETqN5dlCtyBNQ1mKQcO1VWIs3UMCy1ocGe5gBfiM9Mg+RRiWLc6sHBsBBx4 ycyKAmJJprWFDFDy8pm+YPKkAV3hGOk8bt8+dJukSEKOwWBZrPGbELv5HzJso8PLtzMq oup2IZ7R+wv67EoStoQYzHd1jD6YBA2fxommQpfrfvRxeo506whT0XO8tHGpuxbFPZnz 2Zdw== 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=Cyys6IQhZqQdeDitV1B9k0iSS99U0JPCbCQc+oTUNrs=; b=xg8KJx2tLFvtp0rMKIFZIA4vbrhuSdbU1Jeqm0Hi8dRdLhlfxvdCMsDuLQZgqndU0W 9bY5xC/PyuD2iLfsrWTZf75fY7uHNGnUPrNyziO4+ua3h8BOpKRhpSMlrBD3uOcvouZJ XhGJ3V/fijZ1blYelnhbvZcWceihOkhaAl27l7Oysn+aM1VBgpB+T4+RfjdwPJEAmHve Ny5yRPWcLfsdoQ+fCJegrCJ8ha5H2gifxZ6UGjygBwDOOOhM5nOGgakU1TlzLsH8MlCY cZ38fMe0dEClIZCLFl360ZmGpeA5i6PikOOnr7hiNzCiBJomUDz1f/3rHQLmekajvR6z cIGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=EUfCsfh0; 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 nn18-20020a17090b38d200b00219ed0bf12esi24728481pjb.190.2022.12.29.05.33.50; Thu, 29 Dec 2022 05:34:02 -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=EUfCsfh0; 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 S233471AbiL2NdV (ORCPT <rfc822;eddaouddi.ayoub@gmail.com> + 99 others); Thu, 29 Dec 2022 08:33:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52060 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233399AbiL2Ncp (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 29 Dec 2022 08:32:45 -0500 Received: from relay9-d.mail.gandi.net (relay9-d.mail.gandi.net [217.70.183.199]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B61FE10FC7; Thu, 29 Dec 2022 05:32:43 -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 428CDFF812; Thu, 29 Dec 2022 13:32:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1672320762; 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=Cyys6IQhZqQdeDitV1B9k0iSS99U0JPCbCQc+oTUNrs=; b=EUfCsfh0zFwxwRpDvMicJuTb2DQfY0SlrZMy0lf43yq5B9J3Pw7JD2Usi0vjKXH1Zn6IHk H5pXfb6Y7vmZqhNzms+8lWh0DBM2vTJvRs+XEC4RfnZeNk4u/T3r3r/JnoWKp81nknf11V vgNCryoO2j821jK6dD2oMaIch4VYCSYcEANnzoOZXokRkvCbWEt3YeugsTtIQEwd+8dqt1 bjYmJBVM/H470Bast/LGVCo5RqBNs2EHfiV3JCKBFbGfTsa6quqCUMUJOSZfU3XrxsVXPf jCtynWsqfIoIQ1axDUEbNMSdPg20bC/xY6Y9kzPp6lPsNqC+cBqHoK1JUGq7RA== From: Luca Ceresoli <luca.ceresoli@bootlin.com> To: Thierry Reding <thierry.reding@gmail.com>, Jonathan Hunter <jonathanh@nvidia.com>, Sowjanya Komatineni <skomatineni@nvidia.com>, Luca Ceresoli <luca.ceresoli@bootlin.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: 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: [PATCH v3 10/21] staging: media: tegra-video: move tegra210_csi_soc to C file Date: Thu, 29 Dec 2022 14:31:54 +0100 Message-Id: <20221229133205.981397-11-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, RCVD_IN_MSPIKE_H2,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?1753555499659871760?= X-GMAIL-MSGID: =?utf-8?q?1753555499659871760?= |
Series |
Add Tegra20 parallel video input capture
|
|
Commit Message
Luca Ceresoli
Dec. 29, 2022, 1:31 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>
---
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,