staging: media: tegra-video: move tegra210_csi_soc to C file
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> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
This commit is contained in:
parent
983d22f6de
commit
44977bdc15
|
@ -786,6 +786,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 },
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue