Message ID | 20230130141603.323221-11-luca.ceresoli@bootlin.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp2203791wrn; Mon, 30 Jan 2023 06:19:21 -0800 (PST) X-Google-Smtp-Source: AK7set8Ag5nrRlC0WTsrKMpCzBkAyErYeSFHJ2CxMjCMNGYcUmTyKkBWDwOtFcbBknjQek/QkXlf X-Received: by 2002:a17:907:a08b:b0:879:8752:9fb2 with SMTP id hu11-20020a170907a08b00b0087987529fb2mr14000321ejc.67.1675088361116; Mon, 30 Jan 2023 06:19:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675088361; cv=none; d=google.com; s=arc-20160816; b=Lc5yTlZ7y9MyV5bg5k1wafmTq2yTM0Uwb7oVMCf1+Ma7i5cvt/ekiBhUvVtOvycGOJ rSutAligDEH2zADmNy3pzTv5qXl7M2sc7/0zkje3zwRkUrIIpRXYFva+qzcuPmOUYMvy u9JchrWmv7ABJCwh263xB5EHz4We4c5ep8U47YWv57N7XJxYZtNYRCZSVpMQSJVkO+k9 rHL7taiL5ueaYgj02kGoqQrLDB1cFmmzmcxk7/mFmf6Hf3dbAECDYJOC38IkBtowDJFK rHEY0x2VL8hnwaHr6vRImUZWIG6VBEM7t/lhUO1t26qpNXd2Az/WUh3bwcDLtKaTK1DE I2NQ== 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=RvKXf2e4pMeXx7+0trdnyt6lIMSYb4rty55I/DIBVNNRdjnZ5hIoc3lSEKOaxLZNpu 19orYzboEyi9C6WRxPJbTXBMisqX6QXSXhXRtpJJIBKGM11KF1VPCexHKIJFo3z7r9Pk KdTZRyER0xMrB6thtztPzyK+Pv73ox1iqEwFgkjKnmF/+e+fwLYfCYVpXSDzdtg1o+tT z3CIQsJvDo6Pi3yAtWRVSHbGAPPqrZJDjqRv867SZaa+BBhb+thsKFEDvVREqw8rmW6X U8jwnUIzznWFQjDM3ggf8Mz25vmWtjhjIBmGDu2ccJOVJf53yDukZrCBIuLesXb8ZgIk C4WQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=Wi9R8s7J; 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 uk18-20020a170907ca1200b00886dcf4e5f1si5117183ejc.811.2023.01.30.06.18.57; Mon, 30 Jan 2023 06:19: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=Wi9R8s7J; 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 S237592AbjA3OSU (ORCPT <rfc822;n2h9z4@gmail.com> + 99 others); Mon, 30 Jan 2023 09:18:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33410 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237562AbjA3ORr (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 30 Jan 2023 09:17:47 -0500 Received: from relay11.mail.gandi.net (relay11.mail.gandi.net [217.70.178.231]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F03A73E631; Mon, 30 Jan 2023 06:17:14 -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 4DCF0100017; Mon, 30 Jan 2023 14:17:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1675088230; 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=Wi9R8s7JASPVsW5BGA5GEDU82VWMfyPFABvjgDBrzDxQzLFQ2TskEFAn1tTXYcWVnZIX6A M/qrd/OL845qFx7/GVFtwOUW3pR6x5/zhrbLndIP2+J0OeS9SHkn7PJBD/hd3xM0R/+Yn9 ay7oqdSwf4y0TrTXmB7Cb+tVOv9C2xCLgftjCt/L/Qm65+D/rfWLXS1DYiox9FLUL9t/Y1 sCo5INr/d1IZZazl70zOvRGC/T1v0OWcFJa1ztXOaWguh3dyb7Rp0XoELZw1oeUep1yMs9 312nPlQjoLOYnbI3joYz+lzG4RAeYcpsNdoAfXhfn3uC2j7Xumt4Mt9ubEPNYg== 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: [PATCH v4 10/21] staging: media: tegra-video: move tegra210_csi_soc to C file Date: Mon, 30 Jan 2023 15:15:52 +0100 Message-Id: <20230130141603.323221-11-luca.ceresoli@bootlin.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230130141603.323221-1-luca.ceresoli@bootlin.com> References: <20230130141603.323221-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?1756457453192807310?= X-GMAIL-MSGID: =?utf-8?q?1756457453192807310?= |
Series |
Add Tegra20 parallel video input capture
|
|
Commit Message
Luca Ceresoli
Jan. 30, 2023, 2:15 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,