]> git.baikalelectronics.ru Git - kernel.git/commit
media: tegra-video: Make tegra210_video_formats static
authorSamuel Zou <zou_wei@huawei.com>
Mon, 11 May 2020 11:20:15 +0000 (19:20 +0800)
committerThierry Reding <treding@nvidia.com>
Tue, 12 May 2020 21:09:33 +0000 (23:09 +0200)
commit2fd207cbea5ee2a4db55c474fb871787d0835596
treecdfc699bd103c29468517393ed05dc435808f0e1
parentd84d533e25b4efb41fcbe72c60232597b493fc80
media: tegra-video: Make tegra210_video_formats static

Fix the following sparse warning:

drivers/staging/media/tegra-video/tegra210.c:589:33: warning: symbol 'tegra210_video_formats' was not declared.

The tegra210_video_formats has only call site within tegra210.c
It should be static

Fixes: 423d10a99b30 ("media: tegra: Add Tegra210 Video input driver")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Samuel Zou <zou_wei@huawei.com>
Acked-by: Sowjanya Komatineni <skomatineni@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/staging/media/tegra-video/tegra210.c