public inbox for linux-tegra@vger.kernel.org
 help / color / mirror / Atom feed
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	[thread overview]
Message-ID: <20221229133205.981397-11-luca.ceresoli@bootlin.com> (raw)
In-Reply-To: <20221229133205.981397-1-luca.ceresoli@bootlin.com>

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,
-- 
2.34.1


  parent reply	other threads:[~2022-12-29 13:32 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-29 13:31 [PATCH v3 00/21] Add Tegra20 parallel video input capture Luca Ceresoli
2022-12-29 13:31 ` [PATCH v3 01/21] dt-bindings: display: tegra: add Tegra20 VIP Luca Ceresoli
2023-01-02  9:42   ` Krzysztof Kozlowski
2023-01-24 22:15   ` Dmitry Osipenko
2023-01-30 14:09     ` Luca Ceresoli
2022-12-29 13:31 ` [PATCH v3 02/21] dt-bindings: display: tegra: vi: add 'vip' property and example Luca Ceresoli
2022-12-30 16:34   ` Rob Herring
2023-01-24 17:02   ` Dmitry Osipenko
2023-01-24 21:14     ` Luca Ceresoli
2023-01-24 22:09       ` Dmitry Osipenko
2022-12-29 13:31 ` [PATCH v3 03/21] staging: media: tegra-video: fix .vidioc_enum_fmt_vid_cap to return all formats Luca Ceresoli
2022-12-29 13:31 ` [PATCH v3 04/21] staging: media: tegra-video: improve documentation of tegra_video_format fields Luca Ceresoli
2022-12-29 13:31 ` [PATCH v3 05/21] staging: media: tegra-video: document tegra_channel_get_remote_source_subdev Luca Ceresoli
2022-12-29 13:31 ` [PATCH v3 06/21] staging: media: tegra-video: fix typos in comment Luca Ceresoli
2022-12-29 13:31 ` [PATCH v3 07/21] staging: media: tegra-video: improve error messages Luca Ceresoli
2022-12-29 13:31 ` [PATCH v3 08/21] staging: media: tegra-video: slightly simplify cleanup on errors Luca Ceresoli
2022-12-29 13:31 ` [PATCH v3 09/21] staging: media: tegra-video: move private struct declaration to C file Luca Ceresoli
2022-12-29 13:31 ` Luca Ceresoli [this message]
2022-12-29 13:31 ` [PATCH v3 11/21] staging: media: tegra-video: remove unneeded include Luca Ceresoli
2022-12-29 13:31 ` [PATCH v3 12/21] staging: media: tegra-video: Kconfig: allow TPG only on Tegra210 Luca Ceresoli
2022-12-29 13:31 ` [PATCH v3 13/21] staging: media: tegra-video: move tegra_channel_fmt_align to a per-soc op Luca Ceresoli
2022-12-29 13:31 ` [PATCH v3 14/21] staging: media: tegra-video: move default format to soc-specific data Luca Ceresoli
2022-12-29 13:31 ` [PATCH v3 15/21] staging: media: tegra-video: move MIPI calibration calls from VI to CSI Luca Ceresoli
2022-12-29 13:32 ` [PATCH v3 16/21] staging: media: tegra-video: add a per-soc enable/disable op Luca Ceresoli
2022-12-29 13:32 ` [PATCH v3 17/21] staging: media: tegra-video: move syncpt init/free to a per-soc op Luca Ceresoli
2022-12-29 13:32 ` [PATCH v3 18/21] staging: media: tegra-video: add syncpts for Tegra20 to struct tegra_vi Luca Ceresoli
2022-12-29 13:32 ` [PATCH v3 19/21] staging: media: tegra-video: add hooks for planar YUV and H/V flip Luca Ceresoli
2022-12-29 13:32 ` [PATCH v3 20/21] staging: media: tegra-video: add H/V flip controls Luca Ceresoli
2022-12-29 13:32 ` [PATCH v3 21/21] staging: media: tegra-video: add support for Tegra20 parallel input Luca Ceresoli

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221229133205.981397-11-luca.ceresoli@bootlin.com \
    --to=luca.ceresoli@bootlin.com \
    --cc=airlied@gmail.com \
    --cc=daniel@ffwll.ch \
    --cc=devicetree@vger.kernel.org \
    --cc=digetx@gmail.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=hverkuil-cisco@xs4all.nl \
    --cc=jonathanh@nvidia.com \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=linux-staging@lists.linux.dev \
    --cc=linux-tegra@vger.kernel.org \
    --cc=mchehab@kernel.org \
    --cc=paul.kocialkowski@bootlin.com \
    --cc=richard.leitner@skidata.com \
    --cc=robh+dt@kernel.org \
    --cc=skomatineni@nvidia.com \
    --cc=thierry.reding@gmail.com \
    --cc=thomas.petazzoni@bootlin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox